Skip to content

Commit 72fcb5b

Browse files
committed
Fix .check tests
1 parent 97defd7 commit 72fcb5b

File tree

3 files changed

+125
-125
lines changed

3 files changed

+125
-125
lines changed

tests/neg/i13780-1.check

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- [E007] Type Mismatch Error: tests/neg/i13780-1.scala:38:24 ----------------------------------------------------------
22
38 | case x: (h *: t) => x.head // error
33
| ^^^^^^
4-
| Found: Tuple.Head[VS & h *: t]
4+
| Found: Tuple.Head[h *: t & VS]
55
| Required: h
66
| Note that implicit conversions were not tried because the result of an implicit conversion
77
| must be more specific than h
@@ -13,8 +13,8 @@
1313
|
1414
| Note: a match type could not be fully reduced:
1515
|
16-
| trying to reduce Tuple.Head[VS & h *: t]
17-
| failed since selector VS & h *: t
16+
| trying to reduce Tuple.Head[h *: t & VS]
17+
| failed since selector h *: t & VS
1818
| does not uniquely determine parameter x in
1919
| case x *: _ => x
2020
| The computed bounds for the parameter are:

tests/neg/i24096.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- [E007] Type Mismatch Error: tests/neg/i24096.scala:8:31 -------------------------------------------------------------
22
8 | case r: Terminal[?] => r // error
33
| ^
4-
| Found: (r : Pull[F, O, Unit] & Pull.Terminal[_])
4+
| Found: (r : Pull.Terminal[_] & Pull[F, O, Unit])
55
| Required: Pull[F2, O2, Unit]
66
|
77
| where: F is a type in class StreamPullOps with bounds <: [_²] =>> Any

0 commit comments

Comments
 (0)