erg-lang / erg

A statically typed language compatible with Python
http://erg-lang.org
Apache License 2.0
2.63k stars 54 forks source link

Error in Dedent when block ends in EOF #315

Closed GreasySlug closed 1 year ago

GreasySlug commented 1 year ago

Describe the behavior

Occurs in two or more blocks, not in one block Also detected as an error in LSP This is a guess, but Dedent errors occur due to strict indentation

Reproducible code

a =
   b =>
       print! "hi"

Expected behavior No error

Current behavior Invalid indent

OS Windows10