File tree Expand file tree Collapse file tree 3 files changed +125
-125
lines changed Expand file tree Collapse file tree 3 files changed +125
-125
lines changed Original file line number Diff line number Diff line change 11-- [E007] Type Mismatch Error: tests/neg/i13780-1.scala:38:24 ----------------------------------------------------------
2238 | 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
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:
Original file line number Diff line number Diff line change 11-- [E007] Type Mismatch Error: tests/neg/i24096.scala:8:31 -------------------------------------------------------------
228 | 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
You can’t perform that action at this time.
0 commit comments