Skip to content

Instantly share code, notes, and snippets.

@dom96
Created November 29, 2017 22:19
Show Gist options
  • Save dom96/c545402dcc85d916984155f0a49fa889 to your computer and use it in GitHub Desktop.
Save dom96/c545402dcc85d916984155f0a49fa889 to your computer and use it in GitHub Desktop.
... obfuscator.nim(6, 13) Error: type mismatch: got (uint32)
... but expected one of:
... iterator items[T](a: seq[T]): T
... iterator items[T](a: openArray[T]): T
... iterator items(E: typedesc[enum]): E:type
... iterator items[T](s: HSlice[T, T]): T
... iterator items[IX, T](a: array[IX, T]): T
... iterator items(a: string): char
... iterator items(a: cstring): char
... iterator items[T](a: set[T]): T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment