Skip to content

Commit a8fb61c

Browse files
committed
Update baselines
1 parent 7a225af commit a8fb61c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/service/PatternMatchCompilationTests.fs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ let z as =
756756
"(10,7--10,9): Unexpected keyword 'as' in binding";
757757
"(10,5--10,6): Expecting pattern";
758758
"(11,10--11,12): Unexpected keyword 'as' in binding. Expected '=' or other token.";
759-
"(12,9--12,11): Unexpected keyword 'as' in binding";
759+
"(12,6--12,8): Expecting pattern";
760760
"(13,8--13,10): Unexpected keyword 'as' in binding";
761761
"(14,8--14,10): Unexpected keyword 'as' in binding";
762762
"(15,8--15,10): Unexpected keyword 'as' in pattern. Expected ')' or other token.";
@@ -776,6 +776,8 @@ let z as =
776776
"(8,29--8,30): This expression was expected to have type\u001d 'unit' \u001dbut here has type\u001d 'int'";
777777
"(9,26--9,27): This expression was expected to have type\u001d 'unit' \u001dbut here has type\u001d 'int'";
778778
"(10,14--10,15): This expression was expected to have type\u001d ''a * 'b' \u001dbut here has type\u001d 'int'";
779+
"(12,16--12,18): This expression was expected to have type\u001d ''a list' \u001dbut here has type\u001d 'int'";
780+
"(12,4--12,13): Incomplete pattern matches on this expression. For example, the value '[]' may indicate a case not covered by the pattern(s).";
779781
"(15,4--15,5): The pattern discriminator 'r' is not defined.";
780782
"(15,4--15,12): Incomplete pattern matches on this expression."
781783
]
@@ -1176,7 +1178,7 @@ let as :? z =
11761178
"(10,7--10,9): Unexpected keyword 'as' in binding";
11771179
"(10,5--10,6): Expecting pattern";
11781180
"(11,10--11,12): Unexpected keyword 'as' in binding. Expected '=' or other token.";
1179-
"(12,9--12,11): Unexpected keyword 'as' in binding";
1181+
"(12,6--12,8): Expecting pattern";
11801182
"(13,8--13,10): Unexpected keyword 'as' in binding";
11811183
"(14,8--14,10): Unexpected keyword 'as' in binding";
11821184
"(15,13--15,15): Unexpected keyword 'as' in pattern. Expected '(' or other token.";
@@ -1204,6 +1206,8 @@ let as :? z =
12041206
"(9,22--9,26): The type 'unit' does not have any proper subtypes and cannot be used as the source of a type test or runtime coercion.";
12051207
"(10,13--10,14): The type 'i' is not defined.";
12061208
"(10,10--10,14): The type ''a * 'b' does not have any proper subtypes and cannot be used as the source of a type test or runtime coercion.";
1209+
"(12,15--12,16): The type 'm' is not defined.";
1210+
"(12,12--12,16): The type ''a list' does not have any proper subtypes and cannot be used as the source of a type test or runtime coercion.";
12071211
"(16,4--16,5): The pattern discriminator 't' is not defined.";
12081212
"(16,14--16,15): The type 'u' is not defined.";
12091213
"(16,11--16,15): This runtime coercion or type test from type\u001d 'a \u001d to \u001d 'b \u001dinvolves an indeterminate type based on information prior to this program point. Runtime type tests are not allowed on some types. Further type annotations are needed."

0 commit comments

Comments
 (0)