Update snapshots

This commit is contained in:
Richard Feldman 2025-11-26 23:50:56 -05:00
parent 2cb6c41249
commit e00e6458b5
No known key found for this signature in database
2 changed files with 0 additions and 62 deletions

View file

@ -281,9 +281,6 @@ UNUSED VALUE - fuzz_crash_023.md:1:1:1:1
TYPE MISMATCH - fuzz_crash_023.md:155:2:157:3
UNUSED VALUE - fuzz_crash_023.md:155:2:157:3
TYPE MISMATCH - fuzz_crash_023.md:175:26:175:27
MISSING METHOD - fuzz_crash_023.md:146:15:146:18
MISSING METHOD - fuzz_crash_023.md:176:12:176:22
+ - :0:0:0:0
UNUSED VALUE - fuzz_crash_023.md:178:42:178:45
TYPE MISMATCH - fuzz_crash_023.md:144:9:196:2
# PROBLEMS
@ -1054,34 +1051,6 @@ It has the type:
But I expected it to be:
_Str_
**MISSING METHOD**
This **from_numeral** method is being called on a value whose type doesn't have that method:
**fuzz_crash_023.md:146:15:146:18:**
```roc
var number = 123
```
^^^
The value's type, which does not have a method named **from_numeral**, is:
_Str_
**Hint: **For this to work, the type would need to have a method named **from_numeral** associated with it in the type's declaration.
**MISSING METHOD**
The value before this **+** operator has a type that doesn't have a **plus** method:
**fuzz_crash_023.md:176:12:176:22:**
```roc
number = number + n
```
^^^^^^^^^^
The value's type, which does not have a method named **plus**, is:
_Str_
**Hint: **The **+** operator calls a method named **plus** on the value preceding it, passing the value after the operator as the one argument.
**UNUSED VALUE**
This expression produces a value, but it's not being used:
**fuzz_crash_023.md:178:42:178:45:**

View file

@ -272,9 +272,6 @@ UNUSED VALUE - syntax_grab_bag.md:1:1:1:1
TYPE MISMATCH - syntax_grab_bag.md:155:2:157:3
UNUSED VALUE - syntax_grab_bag.md:155:2:157:3
TYPE MISMATCH - syntax_grab_bag.md:175:26:175:27
MISSING METHOD - syntax_grab_bag.md:146:15:146:18
MISSING METHOD - syntax_grab_bag.md:176:12:176:22
+ - :0:0:0:0
TYPE MISMATCH - syntax_grab_bag.md:144:9:196:2
# PROBLEMS
**UNDECLARED TYPE**
@ -945,34 +942,6 @@ It has the type:
But I expected it to be:
_Str_
**MISSING METHOD**
This **from_numeral** method is being called on a value whose type doesn't have that method:
**syntax_grab_bag.md:146:15:146:18:**
```roc
var number = 123
```
^^^
The value's type, which does not have a method named **from_numeral**, is:
_Str_
**Hint: **For this to work, the type would need to have a method named **from_numeral** associated with it in the type's declaration.
**MISSING METHOD**
The value before this **+** operator has a type that doesn't have a **plus** method:
**syntax_grab_bag.md:176:12:176:22:**
```roc
number = number + n
```
^^^^^^^^^^
The value's type, which does not have a method named **plus**, is:
_Str_
**Hint: **The **+** operator calls a method named **plus** on the value preceding it, passing the value after the operator as the one argument.
**TYPE MISMATCH**
This expression is used in an unexpected way:
**syntax_grab_bag.md:144:9:196:2:**