diff options
Diffstat (limited to 'tests/typ/code/ops-invalid.typ')
| -rw-r--r-- | tests/typ/code/ops-invalid.typ | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/typ/code/ops-invalid.typ b/tests/typ/code/ops-invalid.typ index 184e20cf..68bce4af 100644 --- a/tests/typ/code/ops-invalid.typ +++ b/tests/typ/code/ops-invalid.typ @@ -65,19 +65,11 @@ { let x = 1; x += "2" } --- -// Error: 13-14 expected argument list, found integer -{ test with 2 } - ---- -// Error: 3-4 expected function, found integer -{ 1 with () } - ---- -// Error: 3-6 cannot access this expression mutably +// Error: 3-6 cannot mutate a temporary value { (x) = "" } --- -// Error: 3-8 cannot access this expression mutably +// Error: 3-8 cannot mutate a temporary value { 1 + 2 += 3 } --- |
