We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 319a27b commit 9f73622Copy full SHA for 9f73622
docs/QoL Improvements/Syntax Errors.md
@@ -5,9 +5,9 @@ The messages for syntax errors are enhanced. They include tailored messages and
5
if a < b and t == 5 return "Gottem" end
6
```
7
```diff title="Emitted Syntax Error"
8
-syntax error: file.pluto:1: expected 'then' to delimit condition.
+syntax error: file.pluto:1: unexpected symbol near 'return'
9
1 | if a < b and t == 5 return "Gottem" end
10
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ here: expected 'then' symbol.
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ here: expected 'then' or 'do' to open the block
11
12
### Example 2
13
```pluto showLineNumbers title="Problematic Code"
0 commit comments