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
import macros
macrot(n: expr): stmt =# for i in 0 .. <n.intVal: # worksfor i in0..<n.intVal: # errorsecho `i`
gives compiler error
macro_int.nim(4, 13) template/generic instantiation from here
lib/system.nim(3550, 5) Error: type mismatch: got (int literal(0), BiggestInt)
but expected one of:
system...(b: T)
system...(a: T, b: T)
The text was updated successfully, but these errors were encountered:
The following code
gives compiler error
The text was updated successfully, but these errors were encountered: