Skip to content

Commit 901744a

Browse files
committed
Fix .check tests
1 parent 5c9c31c commit 901744a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
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

tests/semanticdb/metac.expect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4991,8 +4991,8 @@ _empty_/Txn# => trait Txn [typeparam T <: Txn[T]] extends Object { self: Txn[T]
49914991
_empty_/Txn#[T] => typeparam T <: Txn[T]
49924992
_empty_/Txn#`<init>`(). => primary ctor <init> [typeparam T <: Txn[T]](): Txn[T]
49934993
local0 => val local out: Repr[Out]
4994-
local1 => val local inObj: Repr[In] & Obj[In]
4995-
local2 => val local outObj: Repr[Out] & Obj[Out]
4994+
local1 => val local inObj: Obj[In] & Repr[In]
4995+
local2 => val local outObj: Obj[Out] & Repr[Out]
49964996

49974997
Occurrences:
49984998
[1:6..1:9): Txn <- _empty_/Txn#

0 commit comments

Comments
 (0)