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
funcgetBaseType(T: typedesc): typedesc=
T
echogetBaseType(int)
Error: type mismatch: got <void>
but expected one of:
proc echo(x: varargs[typed, `$`])
first type mismatch at position: 1
required type for x: varargs[typed]
but expression 'getBaseType(int)' is of type: void
expression: echo getBaseType(int)
So workarounding for #16600 will likely involve working with types in macros :/ nim-lang/RFCs#44
The text was updated successfully, but these errors were encountered:
This throws a "void" error
So workarounding for #16600 will likely involve working with types in macros :/ nim-lang/RFCs#44
The text was updated successfully, but these errors were encountered: