static and default params for generics

This commit is contained in:
Zahary Karadjov 2013-05-26 11:14:03 +03:00
commit 46813bbe4e
4 changed files with 95 additions and 64 deletions

View file

@ -674,6 +674,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.