erg-lang / erg

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

Fixed infinite loop if `#[` is more than `]#` #300

Closed GreasySlug closed 1 year ago

GreasySlug commented 1 year ago

I was wrong about the location of self.consume(). It caused infinite loop if #[ is more than ]#

@mtshiba

GreasySlug commented 1 year ago

show_nest_count_hint