// comment that will never get auto closed
let a = 1
The comment in the above code will never get assigned a closing bracket, because there is no line with 0 depth after it. when calling convert_to_brackets(), EOF should trigger closing all still open brackets.
The comment in the above code will never get assigned a closing bracket, because there is no line with 0 depth after it. when calling convert_to_brackets(), EOF should trigger closing all still open brackets.