type foo = range(...) crashes compiler #4429

ftsf opened this Issue Jun 29, 2016 · 0 comments


None yet

2 participants

ftsf commented Jun 29, 2016

Minimal example:

# example.nim
  foo = range(0..1)

Running nim c example.nim
SIGSEGV: Illegal storage access. (Attempt to read from nil?)

Expected an error telling me to use range[] instead of range()

@Araq Araq added the Crash label Jul 11, 2016
@Araq Araq added a commit that closed this issue Jul 12, 2016
@Araq Araq fixes #4429 928222c
@Araq Araq closed this in 928222c Jul 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment