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
note: that error line is the previous thing I typed into the repl.
How to reproduce
Either start by typing } and hit enter. Or...
Type a few lines first, then:
2. Type } and hit enter
Expected behavior
I'd expect to underline the actual }. Right now it seems like it's trying to underline the point before it, which is going to be whatever the last buffer in the REPL was.
This doesn't seem to be a Span::new(0, 0) related issue, but one that has to do with not having a correct span when lexing a } by itself.
Activity
jafriyie1 commentedon Mar 13, 2023
I can take this one if that is ok!
rgwood commentedon Mar 24, 2023
@jafriyie1 Sounds good! Let us know if you need any help (#implementation-chat on the Nushell Discord is probably the easiest place)
vaishaag commentedon Apr 16, 2023
Hey @jafriyie1, are you working on this? If not, I can give it a try.
jafriyie1 commentedon Apr 16, 2023
Hello, please go ahead and work on this! I sadly haven't had time to take a crack at this.
Fix strange error on unbalanced curly braces (#8906)
amtoine commentedon Apr 17, 2023
that should have been addressed by #8906 👍