Closed ronisbr closed 1 year ago
If my analysis is right, the problem started with #106
Yes. Previously your example parsed but didn't make any sense.
function a(b::T) where T<:Number
b
end
was parsed as:
(function_definition … (where_clause (Identifier)) (type_clause (Identifier)) …
when it should parse as:
(function_definition … (where_clause (binary_expression (Identifier) (operator) (Identifier)) …
It'll be fixed in the next PR.
Hi!
With the latest commit, the following code produces an error:
Everything works fine if I wrap the where clause in
{}
: