Nim icon indicating copy to clipboard operation
Nim copied to clipboard

internal error: semcall.nim(229, 18) nArg != nil

Open timotheecour opened this issue 5 years ago • 1 comments

Example

the code below should give a clean CT error, not an internal error

import std/jsffi
let a = toJs(3)
let b = a.toJs(int)

Current Output

nim r -b:js main compiler/semcall.nim(229, 18) nArg != nil

Expected Output

proper CT error

Additional Information

1.5.1 41965880ce095da09a1f7e781a0c79e436432401

timotheecour avatar Jan 15 '21 08:01 timotheecour

related: https://github.com/nim-lang/Nim/issues/15607

ringabout avatar Apr 08 '22 01:04 ringabout