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
typeDummie=objectiterator`[]`(d: Dummie, a, b: int): int=discardlet d =Dummie()
for s in d[0, 1]: discard# error here
Current Output
type mismatch: got <T>
but expected one of:
iterator items(E: typedesc[enum]): E:type
first type mismatch at position: 1
required type for E: type enum
but expression 'd[0, 1]' is of type: T
iterator items(a: cstring): char
first type mismatch at position: 1
...
Additional Information
Tested with 1.2.4 and 1.3.5
The text was updated successfully, but these errors were encountered:
Example
Current Output
Additional Information
Tested with 1.2.4 and 1.3.5
The text was updated successfully, but these errors were encountered: