work on closures continues; fixed #116
This commit is contained in:
parent
dc8924e1a2
commit
8ce1c99d0d
3 changed files with 23 additions and 4 deletions
|
|
@ -245,6 +245,7 @@ type
|
|||
# language; for interfacing with Objective C
|
||||
sfDiscardable # returned value may be discarded implicitely
|
||||
sfDestructor # proc is destructor
|
||||
sfByCopy # a variable is to be captured by value in a closure
|
||||
|
||||
TSymFlags* = set[TSymFlag]
|
||||
|
||||
|
|
@ -264,9 +265,6 @@ const
|
|||
|
||||
sfShadowed* = sfInnerProc
|
||||
# a variable that was shadowed in some inner scope
|
||||
|
||||
sfByCopy* = sfBorrow
|
||||
# a variable is to be captured by value in a closure
|
||||
|
||||
sfHoist* = sfVolatile ## proc return value can be hoisted
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue