No instantiation information when template has error #4308

def- opened this Issue Jun 10, 2016 · 0 comments


None yet

2 participants

def- commented Jun 10, 2016
proc getGameTile: int =
  1 > 0

Fails to compile, which is right of course, but doesn't tell where the > template was instantiated from:

lib/system.nim(350, 3) Error: type mismatch: got (bool) but expected 'int'
@Araq Araq added the High Priority label Oct 21, 2016
@Araq Araq added a commit that closed this issue Dec 18, 2016
@Araq Araq fixes #4308, fixes #4905 91935fd
@Araq Araq closed this in 91935fd Dec 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment