Skip to content

Commit

Permalink
revert previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Feb 7, 2019
1 parent c1ec6e0 commit d2c121f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/cgen.nim
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ proc cgsym(m: BModule, name: string): Rope =
# we used to exclude the system module from this check, but for DLL
# generation support this sloppyness leads to hard to detect bugs, so
# we're picky here for the system module too:
internalError(m.config, "system module needs: " & name)
rawMessage(m.config, errGenerated, "system module needs: " & name)
result = sym.loc.r

proc generateHeaders(m: BModule) =
Expand Down

0 comments on commit d2c121f

Please sign in to comment.