aiken-lang / aiken

A modern smart contract platform for Cardano
https://aiken-lang.org
Apache License 2.0
476 stars 94 forks source link

unexpect eof when actually there is a mismatch of braces #854

Closed waalge closed 8 months ago

waalge commented 8 months ago

What Git revision are you using?

latest. behaviour the same in previous versions

What operating system are you using, and which version?

nixos

Describe what the problem is?

        Error aiken::parser

  × While parsing files...
  ╰─▶ I arrived at the end of the file unexpectedly.

What should be the expected behavior?

Mismatch of braces reported

rvcas commented 8 months ago

the parser error messages are screwed up in general, we don't need individual errors for them most likely. we will one day put some love into cleaning up the error messages in the parser

I'm marking this as a

duplicate #650