2024-03-13 21:52:29 +03:00
|
|
|
Just a bunch of random parse errors to test the error formatting.
|
|
|
|
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2024-03-13 21:52:29 +03:00
|
|
|
x =
|
|
|
|
foo.123
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
|
|
|
I got confused here:
|
|
|
|
|
|
|
|
2 | foo.123
|
|
|
|
|
|
|
|
|
|
|
|
I was surprised to find a 1 here.
|
2024-03-13 22:14:31 +03:00
|
|
|
I was expecting one of these instead:
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
* end of input
|
|
|
|
* hash (ex: #af3sj3)
|
|
|
|
* identifier (ex: abba1, snake_case, .foo.bar#xyz, .foo.++#xyz, or 🌻)
|
|
|
|
|
|
|
|
```
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2024-03-13 21:52:29 +03:00
|
|
|
namespace.blah = 1
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
2024-08-16 22:25:59 +03:00
|
|
|
I got confused here:
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
1 | namespace.blah = 1
|
|
|
|
|
2024-08-16 22:25:59 +03:00
|
|
|
|
|
|
|
I was surprised to find a = here.
|
|
|
|
I was expecting one of these instead:
|
|
|
|
|
|
|
|
* ability
|
|
|
|
* bang
|
|
|
|
* binding
|
|
|
|
* do
|
|
|
|
* false
|
|
|
|
* force
|
|
|
|
* handle
|
|
|
|
* if
|
|
|
|
* lambda
|
|
|
|
* let
|
|
|
|
* newline or semicolon
|
|
|
|
* quote
|
|
|
|
* termLink
|
|
|
|
* true
|
|
|
|
* tuple
|
|
|
|
* type
|
|
|
|
* typeLink
|
|
|
|
* use
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
```
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2024-03-13 21:52:29 +03:00
|
|
|
x = 1 ]
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
|
|
|
I found a closing ']' here without a matching '['.
|
|
|
|
|
|
|
|
1 | x = 1 ]
|
|
|
|
|
|
|
|
|
|
|
|
```
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2024-03-13 21:52:29 +03:00
|
|
|
x = a.#abc
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
|
|
|
I got confused here:
|
|
|
|
|
|
|
|
1 | x = a.#abc
|
|
|
|
|
|
|
|
|
|
|
|
I was surprised to find a '.' here.
|
2024-06-27 21:37:22 +03:00
|
|
|
I was expecting one of these instead:
|
|
|
|
|
|
|
|
* and
|
|
|
|
* bang
|
|
|
|
* do
|
|
|
|
* false
|
|
|
|
* force
|
|
|
|
* handle
|
|
|
|
* if
|
|
|
|
* infixApp
|
|
|
|
* let
|
|
|
|
* newline or semicolon
|
|
|
|
* or
|
|
|
|
* quote
|
|
|
|
* termLink
|
|
|
|
* true
|
|
|
|
* tuple
|
|
|
|
* typeLink
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
```
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2024-03-13 21:52:29 +03:00
|
|
|
x = "hi
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
|
|
|
I got confused here:
|
|
|
|
|
2024-07-12 01:55:56 +03:00
|
|
|
2 |
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
I was surprised to find an end of input here.
|
2024-03-13 22:14:31 +03:00
|
|
|
I was expecting one of these instead:
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
* "
|
|
|
|
* \s
|
|
|
|
* literal character
|
|
|
|
|
|
|
|
```
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2024-03-13 21:52:29 +03:00
|
|
|
y : a
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
|
|
|
I got confused here:
|
|
|
|
|
2024-07-12 01:55:56 +03:00
|
|
|
2 |
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
I was surprised to find an end of section here.
|
2024-03-13 22:14:31 +03:00
|
|
|
I was expecting one of these instead:
|
2024-03-13 21:52:29 +03:00
|
|
|
|
|
|
|
* ->
|
|
|
|
* newline or semicolon
|
|
|
|
|
|
|
|
```
|