diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2009-06-02 11:12:30 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2009-06-02 11:12:30 +0000 |
commit | f5f18249a168676c478e020188e865d3548a9aa7 (patch) | |
tree | d994a0fdfdf67925040f193ae1dbb197c4a9e871 /test/files | |
parent | a7aeed67da977fc885f7e89ae5f52aa7dadbac24 (diff) | |
download | scala-f5f18249a168676c478e020188e865d3548a9aa7.tar.gz scala-f5f18249a168676c478e020188e865d3548a9aa7.tar.bz2 scala-f5f18249a168676c478e020188e865d3548a9aa7.zip |
Reverting 17948, disabling test.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/bug1241.check | 7 | ||||
-rw-r--r-- | test/files/neg/bug1241.check.disabled | 4 | ||||
-rw-r--r-- | test/files/neg/bug1241.scala.disabled (renamed from test/files/neg/bug1241.scala) | 0 |
3 files changed, 4 insertions, 7 deletions
diff --git a/test/files/neg/bug1241.check b/test/files/neg/bug1241.check deleted file mode 100644 index 2a892a274c..0000000000 --- a/test/files/neg/bug1241.check +++ /dev/null @@ -1,7 +0,0 @@ -bug1241.scala:5: error: class type required but AnyRef{def hello(): Unit} found - val x4 = new T { def hello() { println("4") } } // error! - ^ -bug1241.scala:5: error: AnyRef{def hello(): Unit} does not have a constructor - val x4 = new T { def hello() { println("4") } } // error! - ^ -two errors found diff --git a/test/files/neg/bug1241.check.disabled b/test/files/neg/bug1241.check.disabled new file mode 100644 index 0000000000..48c86cabb7 --- /dev/null +++ b/test/files/neg/bug1241.check.disabled @@ -0,0 +1,4 @@ +bug1241.scala:5: error: class type required but AnyRef{def hello(): Unit} found + val x4 = new T { def hello() { println("4") } } // error! + ^ +one error found diff --git a/test/files/neg/bug1241.scala b/test/files/neg/bug1241.scala.disabled index 68a2c963c4..68a2c963c4 100644 --- a/test/files/neg/bug1241.scala +++ b/test/files/neg/bug1241.scala.disabled |