We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I'm compiling the following MWE file:
type TagGenerator = distinct string proc `[]=`(s: TagGenerator; x: int; b: char): void {.borrow.} proc next(tg: TagGenerator): void = tg[0] = 'x'
nim compiler fails with the following traceback:
nim
bug.nim(7, 5) Error: internal error: genMagicExpr: mArrPut Traceback (most recent call last) nim.nim(115) nim nim.nim(71) handleCmdLine main.nim(254) mainCommand main.nim(65) commandCompileToC modules.nim(228) compileProject modules.nim(173) compileModule passes.nim(203) processModule passes.nim(137) processTopLevelStmt cgen.nim(1221) myProcess ccgstmts.nim(1120) genStmts ccgexprs.nim(2153) expr cgen.nim(789) genProc cgen.nim(759) genProcNoForward cgen.nim(679) genProcAux ccgstmts.nim(1120) genStmts ccgexprs.nim(2047) expr ccgexprs.nim(1758) genMagicExpr msgs.nim(996) internalError msgs.nim(970) liMessage msgs.nim(842) handleError msgs.nim(826) quit FAILURE
The text was updated successfully, but these errors were encountered:
Test that nim-lang#4491 is indeed fixed; distinct array get/put works.
5e50922
da8f6e1
No branches or pull requests
When I'm compiling the following MWE file:
nim
compiler fails with the following traceback:The text was updated successfully, but these errors were encountered: