You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
please check whether the problem still exists in git head before posting,
see rebuilding the compiler.
$ bin/nim c testcase.nim
Hint: used config file 'config/nim.cfg' [Conf]
Hint: used config file 'config/config.nims' [Conf]
....
Error: internal error: compiler/semobjconstr.nim(324, 20)
No stack traceback available
$ bin/nim --version
Nim Compiler Version 1.3.5 [Linux: amd64]
Compiled at 2020-07-29
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: 196e747df150ace81e7f4c01253128d4a89f03c7
active boot switches: -d:release
$ git log | head -n3
commit 196e747df150ace81e7f4c01253128d4a89f03c7
Author: c-blake <c-blake@users.noreply.github.com>
Date: Wed Jul 29 05:19:02 2020 -0400
Expected Output
Not causing an internal error.
Additional Information
It exists back to 1.0.4 at least:
$ nim c testcase.nim
Hint: used config file '/etc/nim/nim.cfg' [Conf]
Hint: system [Processing]
Hint: widestrs [Processing]
Hint: io [Processing]
Hint: testcase1 [Processing]
Error: internal error: (filename: "semobjconstr.nim", line: 324, column: 19)
No stack traceback available
To create a stacktrace, rerun compilation with ./koch temp c <file>
$ nim --version
Nim Compiler Version 1.2.4 [Linux: amd64]
Compiled at 2020-08-09
Copyright (c) 2006-2020 by Andreas Rumpf
active boot switches: -d:release
$ nim c testcase.nim
Hint: used config file '/etc/nim/nim.cfg' [Conf]
Hint: system [Processing]
Hint: widestrs [Processing]
Hint: io [Processing]
Hint: testcase1 [Processing]
Error: internal error: (filename: "semstmts.nim", line: 1276, column: 19)
No stack traceback available
To create a stacktrace, rerun compilation with ./koch temp c <file>
$ nim --version
Nim Compiler Version 1.0.4 [Linux: amd64]
Compiled at 2020-02-04
Copyright (c) 2006-2019 by Andreas Rumpf
active boot switches: -d:release
The text was updated successfully, but these errors were encountered:
A syntax error causes an internal compiler error.
Example
Current Output
please check whether the problem still exists in git head before posting,
see rebuilding the compiler.
Expected Output
Not causing an internal error.
Additional Information
It exists back to 1.0.4 at least:
The text was updated successfully, but these errors were encountered: