summary refs log tree commit diff stats
path: root/compiler/parser.nim
diff options
context:
space:
mode:
authorJames Boyden <github@jboy.id.au>2016-04-05 19:45:46 +1000
committerJames Boyden <github@jboy.id.au>2016-04-05 19:45:46 +1000
commit13d06d9a5ca83d655c8272b4baafaf4d2c941b2a (patch)
tree621cca5cd46c993276b577895968f3b6952cca0d /compiler/parser.nim
parent1446dc87c301268869223e32e7efdc9c76711bad (diff)
downloadNim-13d06d9a5ca83d655c8272b4baafaf4d2c941b2a.tar.gz
Add `import sharedlist` when `hasThreadSupport`
Without this change, a user's Nim code won't compile if they're using both threads & the mark-and-sweep GC:

lib/system/gc_ms.nim(75, 18) Error: undeclared identifier: 'SharedList'
        toDispose: SharedList[pointer]
                   ^


This small code block addition was copied from "lib/system/gc.nim" (where it appears directly after a `when defined(memProfiler)` block also).
Diffstat (limited to 'compiler/parser.nim')
0 files changed, 0 insertions, 0 deletions