diff options
author | James Boyden <github@jboy.id.au> | 2016-04-05 19:45:46 +1000 |
---|---|---|
committer | James Boyden <github@jboy.id.au> | 2016-04-05 19:45:46 +1000 |
commit | 13d06d9a5ca83d655c8272b4baafaf4d2c941b2a (patch) | |
tree | 621cca5cd46c993276b577895968f3b6952cca0d /compiler/parser.nim | |
parent | 1446dc87c301268869223e32e7efdc9c76711bad (diff) | |
download | Nim-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