Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
There is a bug in the new repl syntax highlighting when using pattern matching with cases spawning across new lines.
To reproduce:
defstatus(code):matchcode:case0:return"OK"# correct highlightcase-1:# correct highlightreturn"Error"case-2:# no highlightreturn"Big Error"case _:# no highlightreturn"Unknown status"
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS