mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
All of the old error types can now be converted losslessly into the new type, and this is using the new pretty-printer to emit and color the errors. The next steps are deleting the old errors and replacing them with the new ones one by one.
14 lines
251 B
Text
14 lines
251 B
Text
f"There is no {"closing"} quote there -->
|
|
|
|
# output:
|
|
stdin:2:1
|
|
╷
|
|
2 │
|
|
╵ ^
|
|
Error: Unexpected end of input, format string is not closed.
|
|
|
|
stdin:1:1
|
|
╷
|
|
1 │ f"There is no {"closing"} quote there -->
|
|
╵ ^~
|
|
Note: Format string opened here.
|