blob: 0d40601962b33a3f7411feefdca5e5995b05fad1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
builder > A.scala B.scala
compiling Set(A.scala, B.scala)
Changes: Map()
builder > A.scala
compiling Set(A.scala)
Changes: Map(class A -> List(Changed(Class(A))[ tparams: List((type T,type T))], Changed(Definition(A.<init>))[constructor A changed from ()A[T] to ()A[T] flags: <method>]))
invalidate B.scala because it references changed class [Changed(Class(A))[ tparams: List((type T,type T))]]
compiling Set(B.scala)
B.scala:2: error: type mismatch;
found : A[Int]
required: A[Any]
val a: A[Any] = new A[Int]
^
|