Open fredrikekre opened 2 years ago
Still an issue but the i
doesn't matter anymore:
struct Foo
bar::Int
#= const =# baz::Int
end
(struct_definition) ; [1:1 - 4:3]
name: (identifier) ; [1:8 - 10]
(typed_expression) ; [2:5 - 3:24]
(typed_expression) ; [2:5 - 12]
(identifier) ; [2:5 - 7]
(identifier) ; [2:10 - 12]
(block_comment) ; [3:5 - 15]
(ERROR) ; [3:17 - 19]
(identifier) ; [3:22 - 24]
Source:
Playground:
Note the
i
in front ofbaz
-- I discovered this since my real member name started withi
. If I remove it the parser trips up at another location, which seems pretty weird, but not sure if it has some significance.Source:
Playground: