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/neg/bug1241.scala.disabled | |
parent | a7aeed67da977fc885f7e89ae5f52aa7dadbac24 (diff) | |
download | scala-f5f18249a168676c478e020188e865d3548a9aa7.tar.gz scala-f5f18249a168676c478e020188e865d3548a9aa7.tar.bz2 scala-f5f18249a168676c478e020188e865d3548a9aa7.zip |
Reverting 17948, disabling test.
Diffstat (limited to 'test/files/neg/bug1241.scala.disabled')
-rw-r--r-- | test/files/neg/bug1241.scala.disabled | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/neg/bug1241.scala.disabled b/test/files/neg/bug1241.scala.disabled new file mode 100644 index 0000000000..68a2c963c4 --- /dev/null +++ b/test/files/neg/bug1241.scala.disabled @@ -0,0 +1,8 @@ +object test extends Application { + // more.. + type T = { def hello() } + //val x4 = new AnyRef { def hello() { println("4") } } // ok! + val x4 = new T { def hello() { println("4") } } // error! + x4.hello() + // more.. +} |