Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upcannot call template/macros with varargs[typed] to varargs[untyped] #10075
Comments
This comment has been minimized.
This comment has been minimized.
I comment the assertion lines in the sigmatch.nim, then the code compiles and works. |
This comment has been minimized.
This comment has been minimized.
The code is added to fix #8715 |
mratsim
added
Regression
Macros
varargs
labels
Jan 9, 2019
This comment has been minimized.
This comment has been minimized.
cc @narimiran @Araq backport to 0.19.4? |
Araq
closed this
in
aa7ad88
Jan 13, 2019
added a commit
that referenced
this issue
Jan 14, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
slangmgh commentedDec 22, 2018
The following code works with develop version of v0.18.0, but doesn't works for v 0.19.0
The compiler error is:
If we change the argument of the t1, t2 to both varargs[typed] or varargs[untyped], it works. Even if I change the t1 as varargs[untyped] and t2 as varargs[typed], it still works. Only varargs[untyped] call varargs[typed] doesn't work.