blob: 4dc202c7bd14b2a65da227cfd0c43ee0ef98f049 (
plain) (
tree)
|
|
t963.scala:14: error: stable identifier required, but Test.this.y3.x found.
val w3 : y3.x.type = y3.x
^
t963.scala:17: error: stable identifier required, but Test.this.y4.x found.
val w4 : y4.x.type = y4.x
^
t963.scala:10: error: type mismatch;
found : AnyRef{def x: Integer}
required: AnyRef{val x: Integer}
val y2 : { val x : java.lang.Integer } = new { def x = new java.lang.Integer(r.nextInt) }
^
three errors found
|