File tree 2 files changed +2
-8
lines changed
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 61
61
-- [E172] Type Error: tests/neg/i4986c.scala:62:19 ---------------------------------------------------------------------
62
62
62 | i.m[Option[Long]] // error
63
63
| ^
64
- | String; List; [A, _] =>> List²[Option[?]]; Int; Option[Long];
65
- |
66
- | where: List is a type in package object scala which is an alias of List²
67
- | List² is a class in package scala.collection.immutable
64
+ | String; List; [A, _] =>> List[Option[?]]; Int; Option[Long];
Original file line number Diff line number Diff line change 6
6
8 |def b = f(a) // error
7
7
| ^
8
8
| Found: G[[A <: Int] =>> List[A]]
9
- | Required: G[List²]
10
- |
11
- | where: List is a class in package scala.collection.immutable
12
- | List² is a type in package object scala which is an alias of List
9
+ | Required: G[List]
13
10
|
14
11
| longer explanation available when compiling with `-explain`
You can’t perform that action at this time.
0 commit comments