Closed ChrisPenner closed 2 months ago
This was just addressed in https://github.com/unisonweb/unison/pull/5297 . I'm guessing you don't have that change yet and that is why the error message is different?
Oh great! Yeah I'm probably just a bit behind; thanks!
Oh, this is good though – I had just changed the error handling because I didn’t have a transcript to reproduce this with (and it clearly wasn’t impossible to hit). So this will help fix #5179.
Pasted something in my editor and ran into this:
The line number corresponds to this: https://github.com/unisonweb/unison/blob/e9ca76f651d6a21c55244725f2174b30202b8f1c/unison-syntax/src/Unison/Syntax/Lexer/Unison.hs#L206-L208
But weirdly the error message doesn't match 🤔
Here's what was in my scratch file at the time: