mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 02:12:11 +00:00
committed by
Andreas Rumpf
parent
0d07117a65
commit
eb8371012c
@@ -3757,7 +3757,7 @@ when hasAlloc:
|
||||
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
|
||||
## on any debug or runtime information. Note that in contrast to what
|
||||
## the official signature says, the return type is not ``RootObj`` but a
|
||||
## tuple of a structure that depends on the current scope. Example:
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user