Skip to content

Commit 0527ec7

Browse files
5c077m4nlpil
authored andcommittedJan 22, 2025
Update snapshots
1 parent 010f428 commit 0527ec7

17 files changed

+19
-19
lines changed
 

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__errors__const_multiple_errors_are_local_with_annotation.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ error: Unknown variable
4343
2const tpl: String = #(Ok(1), MyInvalidType, 3)
4444
^^^^^^^^^^^^^
4545

46-
The name `MyInvalidType` is not in scope here.
46+
The custom type variant constructor `MyInvalidType` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__errors__const_multiple_errors_are_local_with_unbound_value.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ error: Unknown variable
3737
2const unbound: MyInvalidType = MyInvalidType
3838
^^^^^^^^^^^^^
3939

40-
The name `MyInvalidType` is not in scope here.
40+
The custom type variant constructor `MyInvalidType` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__errors__const_multiple_errors_invalid_annotation.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ error: Unknown variable
2121
2const invalid_value: String = MyInvalidValue
2222
^^^^^^^^^^^^^^
2323

24-
The name `MyInvalidValue` is not in scope here.
24+
The custom type variant constructor `MyInvalidValue` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__errors__const_multiple_errors_invalid_annotation_and_value.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ error: Unknown variable
2121
1const invalid_everything: MyInvalidType = MyInvalidValue
2222
^^^^^^^^^^^^^^
2323

24-
The name `MyInvalidValue` is not in scope here.
24+
The custom type variant constructor `MyInvalidValue` is not in scope here.
2525

2626
error: Type mismatch
2727
┌─ /src/one/two.gleam:2:34

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__errors__const_multiple_errors_invalid_unannotated_value.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ error: Unknown variable
3535
2const invalid_everything: MyInvalidType = MyInvalidValue
3636
^^^^^^^^^^^^^^
3737

38-
The name `MyInvalidValue` is not in scope here.
38+
The custom type variant constructor `MyInvalidValue` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__errors__const_multiple_errors_invalid_value.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ error: Unknown variable
1313
1const invalid_value: String = MyInvalidValue
1414
^^^^^^^^^^^^^^
1515

16-
The name `MyInvalidValue` is not in scope here.
16+
The custom type variant constructor `MyInvalidValue` is not in scope here.
1717

1818
error: Type mismatch
1919
┌─ /src/one/two.gleam:2:39

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__errors__unknown_constructor_update.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ error: Unknown variable
1818
6NotAPerson(..person)
1919
│ ^^^^^^^^^^ Did you mean `Person`?
2020

21-
The name `NotAPerson` is not in scope here.
21+
The custom type variant constructor `NotAPerson` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__functions__case_clause_guard_fault_tolerance.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ error: Unknown variable
2121
5a if a == Wibble -> 0
2222
^^^^^^ Did you mean `wibble`?
2323

24-
The name `Wibble` is not in scope here.
24+
The custom type variant constructor `Wibble` is not in scope here.
2525

2626
error: Unknown variable
2727
┌─ /src/one/two.gleam:6:15
2828
2929
6b if b == Wibble -> 0
3030
^^^^^^ Did you mean `wibble`?
3131

32-
The name `Wibble` is not in scope here.
32+
The custom type variant constructor `Wibble` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__functions__case_clause_pattern_fault_tolerance.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ error: Unknown variable
2222
6Wibble -> 1
2323
^^^^^^ Did you mean `wibble`?
2424

25-
The name `Wibble` is not in scope here.
25+
The custom type variant constructor `Wibble` is not in scope here.
2626

2727
error: Unknown variable
2828
┌─ /src/one/two.gleam:7:5
2929
3030
7Wibble2 -> 2
3131
^^^^^^^ Did you mean `wibble`?
3232

33-
The name `Wibble2` is not in scope here.
33+
The custom type variant constructor `Wibble2` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__functions__multiple_bad_statement_assignment_with_annotation_fault_tolerance2.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ error: Unknown variable
1919
4let a: Int = Junk
2020
^^^^
2121

22-
The name `Junk` is not in scope here.
22+
The custom type variant constructor `Junk` is not in scope here.
2323

2424
error: Type mismatch
2525
┌─ /src/one/two.gleam:5:19

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__functions__multiple_bad_statement_assignment_with_pattern_fault_tolerance2.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ error: Unknown variable
2020
4let Junk(a) = 7
2121
^^^^^^^
2222

23-
The name `Junk` is not in scope here.
23+
The custom type variant constructor `Junk` is not in scope here.
2424

2525
error: Type mismatch
2626
┌─ /src/one/two.gleam:6:7

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__imports__unqualified_using_opaque_constructor.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ error: Unknown variable
2828
4Two
2929
^^^
3030

31-
The name `Two` is not in scope here.
31+
The custom type variant constructor `Two` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__imports__unqualified_using_private_constructor.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ error: Unknown variable
2828
4Two
2929
^^^
3030

31-
The name `Two` is not in scope here.
31+
The custom type variant constructor `Two` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__imports__unqualified_using_private_constructor_pattern.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ error: Unknown variable
2828
4let Two = x
2929
^^^
3030

31-
The name `Two` is not in scope here.
31+
The custom type variant constructor `Two` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__imports__using_private_unqualified_custom_type.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ error: Unknown variable
2828
4X
2929
^
3030

31-
The name `X` is not in scope here.
31+
The custom type variant constructor `X` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__imports__using_private_unqualified_external_type.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ error: Unknown variable
2828
4X
2929
^
3030

31-
The name `X` is not in scope here.
31+
The custom type variant constructor `X` is not in scope here.

‎compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__imports__using_private_unqualified_type_alias.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ error: Unknown variable
2828
4X
2929
^
3030

31-
The name `X` is not in scope here.
31+
The custom type variant constructor `X` is not in scope here.

0 commit comments

Comments
 (0)
Please sign in to comment.