Fix #6288 (#6289 was created for wrong branch) (#6291)

This commit is contained in:
Daniil Yarancev 2017-08-29 16:46:22 +03:00 • committed by Andreas Rumpf
commit eb8371012c

View file

@ -3757,7 +3757,7 @@ when hasAlloc:
proc locals*(): RootObj {.magic: "Plugin", noSideEffect.} = proc locals*(): RootObj {.magic: "Plugin", noSideEffect.} =
## generates a tuple constructor expression listing all the local variables ## generates a tuple constructor expression listing all the local variables
## in the current scope. This is quite fast as it does not rely ## 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 ## the official signature says, the return type is not ``RootObj`` but a
## tuple of a structure that depends on the current scope. Example: ## tuple of a structure that depends on the current scope. Example:
## ##