Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a testcase #16156

Merged
merged 1 commit into from
Nov 27, 2020
Merged

add a testcase #16156

merged 1 commit into from
Nov 27, 2020

Conversation

ringabout
Copy link
Member

The code doesn't work in Nim 0.20.2(fixed in Nim 1.0.0), add a testcase in case of regression.

fix timotheecour#15

block:
  block:
    type Foo[N: static int] = array[cint(0) .. cint(N), float]
    type T = Foo[3]
  block:
    type Foo[N: static int] = array[int32(0) .. int32(N), float]
    type T = Foo[3]

@timotheecour timotheecour merged commit 3510216 into nim-lang:devel Nov 27, 2020
narimiran pushed a commit that referenced this pull request Nov 27, 2020
(cherry picked from commit 3510216)
mildred pushed a commit to mildred/Nim that referenced this pull request Jan 11, 2021
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compiler segfaults without stacktrace
2 participants