can't pass @[]
to template (even typed) => internal error or sigmatch error
#18667
Labels
@[]
to template (even typed) => internal error or sigmatch error
#18667
Example
Current Output
-d:case1:
Error: internal error: getTypeDescAux(tyEmpty)
-d:case2:
Error: type mismatch: got <seq[empty], string, string, string>
Expected Output
works
Additional Information
1.5.1 6b3c77e
works with proc instead of template
mildly related: https://github.com/nim-lang/Nim/issues?q=is%3Aissue+is%3Aopen+%22tyEmpty%22
The text was updated successfully, but these errors were encountered: