You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One would expect the newlines to be treated the same way as spaces and just separate the tokens.
That's not right though, the lexer does not emit token for spaces, they have no meaning or value in the tree downstream. The lexer does emit new lines though.
Ah, true. Thanks for the explanation!
I guess I was only thinking about newlines within a single statement. Of course you still need newlines to separate multiple statements.
Hi! Thanks for the cool project.
When I tried using
vapour
, first thing I noticed is that I can't define a type in a one-liner:Transpiling produces the following error:
It seems to be the closing bracket that breaks things, because this works:
One would expect the newlines to be treated the same way as spaces and just separate the tokens.
Is that intended or is it just a bug?
The text was updated successfully, but these errors were encountered: