summaryrefslogtreecommitdiff
path: root/test/files/buildmanager/t2790/t2790.check
blob: 3a57d2881768992da2e8b2b1a00dfd8f39d69e5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
builder > A.scala B.scala
compiling Set(A.scala, B.scala)
Changes: Map()
builder > A.scala
compiling Set(A.scala)
Changes: Map(object A -> List(Added(Definition(A.x)), Changed(Definition(A.x))[value x changed from (f: java.lang.String,g: Int)Int to (f: java.lang.String,g: Int)Int <and> (f: Int,g: Int)Int flags: <method>]))
invalidate B.scala because it references changed definition [Changed(Definition(A.x))[value x changed from (f: java.lang.String,g: Int)Int to (f: java.lang.String,g: Int)Int <and> (f: Int,g: Int)Int flags: <method>]]
compiling Set(B.scala)
B.scala:2: error: type mismatch;
 found   : Int(5)
 required: String
Error occurred in an application involving default arguments.
  val y = A.x(5)
              ^