system.locals is now a plugin for education
This commit is contained in:
parent
c8bebe92e2
commit
0c947f31ba
8 changed files with 62 additions and 36 deletions
|
|
@ -3207,7 +3207,7 @@ when hostOS != "standalone":
|
|||
if x == nil: x = y
|
||||
else: x.add(y)
|
||||
|
||||
proc locals*(): RootObj {.magic: "Locals", noSideEffect.} =
|
||||
proc locals*(): RootObj {.magic: "Plugin", noSideEffect.} =
|
||||
## generates a tuple constructor expression listing all the local variables
|
||||
## in the current scope. This is quite fast as it does not rely
|
||||
## on any debug or runtime information. Note that in constrast to what
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue