Revert "Revert "static and default params for generics""

This reverts commit 0662ec4a43.
This commit is contained in:
Zahary Karadjov 2013-08-19 01:29:37 +03:00
commit f760bc243b
4 changed files with 95 additions and 64 deletions

View file

@ -686,6 +686,8 @@ type
# for record types a nkRecord node
# for enum types a list of symbols
# for tyInt it can be the int literal
# for procs and tyGenericBody, it's the
# formal param list
# else: unused
destructor*: PSym # destructor. warning: nil here may not necessary
# mean that there is no destructor.