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

Change in syntax breaks valid code #10896

Closed
Wh1teDuke opened this issue Mar 23, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@Wh1teDuke
Copy link
Contributor

commented Mar 23, 2019

The following piece of code no longer compiles:

Test

const
  test =
    proc(): int = 1

Error

Test.nim(3, 9) Error: identifier expected, but got '('

Related? #10881


>nim -v
Nim Compiler Version 0.19.9 [Linux: i386]
Compiled at 2019-03-23
Copyright (c) 2006-2019 by Andreas Rumpf

git hash: 714c4f0d6756e4e8a9ed0858a569286fe82a28e5
active boot switches: -d:release

Araq added a commit that referenced this issue Mar 25, 2019

@Araq Araq closed this in 8e1c6e2 Mar 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.