Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Change in syntax breaks valid code #10896
The following piece of code no longer compiles:
const test = proc(): int = 1
Test.nim(3, 9) Error: identifier expected, but got '('
>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