Compiler fails to parse expressions surrounded by braces in some cases
Closed this issue · 0 comments
TropicSapling commented
For example, this line fails to parse:
let res = 1 * 2 + {3 ** 4} * 5 + 6;
That specific line is pretty easy to fix parsing for, but more complex things like this must also be supported:
func f -> int {
{
doSomething;
}
{
2 * {3 + 4}
}
}