summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-04-24 02:08:06 +0200
committerAraq <rumpf_a@web.de>2015-04-24 02:08:06 +0200
commit0c947f31baab5cdded3b089ef33fc83fc9717026 (patch)
tree9cdd96fe3a1dcce9660df2f9c41ef07b2c70442c /lib
parentc8bebe92e247c580ff1bebb552d8d1f117c5efeb (diff)
downloadNim-0c947f31baab5cdded3b089ef33fc83fc9717026.tar.gz
system.locals is now a plugin for education
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 1805dd813..85f1350d7 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -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