diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2007-06-06 00:40:56 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2007-06-06 00:40:56 +0000 |
commit | ee41bd58d4e28008070b4d705511beab36f645e1 (patch) | |
tree | 2e40454199dc66adc0fa384275a31972aef05b96 /test | |
parent | cea527a9dc7cfef933ed911b8196858f412827b2 (diff) | |
download | scala-ee41bd58d4e28008070b4d705511beab36f645e1.tar.gz scala-ee41bd58d4e28008070b4d705511beab36f645e1.tar.bz2 scala-ee41bd58d4e28008070b4d705511beab36f645e1.zip |
Fixed structural subtyping to work when JVM 1.5...
Fixed structural subtyping to work when JVM 1.5 target is used. Bug 711
no longer is “neg” thanks to structural subtyping.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/bug711.check | 4 | ||||
-rw-r--r-- | test/files/pos/bug711.scala (renamed from test/files/neg/bug711.scala) | 0 |
2 files changed, 0 insertions, 4 deletions
diff --git a/test/files/neg/bug711.check b/test/files/neg/bug711.check deleted file mode 100644 index 13afb817b2..0000000000 --- a/test/files/neg/bug711.check +++ /dev/null @@ -1,4 +0,0 @@ -bug711.scala:11: error: method sayHey does not refine a member of its base type - def sayHey: Unit - ^ -one error found diff --git a/test/files/neg/bug711.scala b/test/files/pos/bug711.scala index 70fcc7f0d0..70fcc7f0d0 100644 --- a/test/files/neg/bug711.scala +++ b/test/files/pos/bug711.scala |