summaryrefslogtreecommitdiff
path: root/test/files/buildmanager/t2556_3
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2011-10-20 22:28:39 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2011-10-20 22:28:39 +0000
commit24eb4c5bb5b3ed0e6bb4ede3e68876cdbe7d18fc (patch)
tree21c1260adb14a8e3b8fbfd2dee484ab62d6cc8a4 /test/files/buildmanager/t2556_3
parent612f87b3d3ed214ca2f1753de923720fd2948aee (diff)
downloadscala-24eb4c5bb5b3ed0e6bb4ede3e68876cdbe7d18fc.tar.gz
scala-24eb4c5bb5b3ed0e6bb4ede3e68876cdbe7d18fc.tar.bz2
scala-24eb4c5bb5b3ed0e6bb4ede3e68876cdbe7d18fc.zip
no need to add an x field to everything
however, it must be possible to inline Ensuring, ArrowAssoc methods renamed the public val x to something a little less intrusive fixed check file to reflect better error message (see! it wasn't that uncommon for people to write `foo.x` -- NEWS AT ELEVEN) no review
Diffstat (limited to 'test/files/buildmanager/t2556_3')
-rw-r--r--test/files/buildmanager/t2556_3/t2556_3.check10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/files/buildmanager/t2556_3/t2556_3.check b/test/files/buildmanager/t2556_3/t2556_3.check
index bf26602494..72236ca0d1 100644
--- a/test/files/buildmanager/t2556_3/t2556_3.check
+++ b/test/files/buildmanager/t2556_3/t2556_3.check
@@ -7,12 +7,6 @@ Changes: Map(class A -> List(), class B -> List(Changed(Class(B))[List((A,Object
invalidate C.scala because parents have changed [Changed(Class(B))[List((A,Object), (ScalaObject,ScalaObject))]]
invalidate B.scala because it references invalid (no longer inherited) definition [ParentChanged(Class(C))]
compiling Set(B.scala, C.scala)
-B.scala:3: error: type mismatch;
- found : C
- required: ?{val x: ?}
-Note that implicit conversions are not applicable because they are ambiguous:
- both method any2Ensuring in object Predef of type [A](x: A)Ensuring[A]
- and method any2ArrowAssoc in object Predef of type [A](x: A)ArrowAssoc[A]
- are possible conversion functions from C to ?{val x: ?}
+B.scala:3: error: value x is not a member of C
println( (new C).x )
- ^
+ ^