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
typeTRange1*=range[0..1]
TRange2*=range[1..2]
TTypeClass*=TRange1|TRange2procp*[T:TTypeClass](val: T) =discard T israngep(1.TRange1)
That identity check yields this:
range_bug.nim(8, 1) Info: instantiation from here
range_bug.nim(8, 1) Info: instantiation from here
Error: internal error: (filename: compiler/sigmatch.nim, line: 1014)
No stack traceback available