diff options
author | Paul Phillips <paulp@improving.org> | 2011-08-24 17:11:55 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-08-24 17:11:55 +0000 |
commit | b9785280a7138a2bb52060faf94807aa0d07dec1 (patch) | |
tree | 870cc1930ac3d50cd07078260f58984224dd39a5 /test/files/neg/bug783.scala | |
parent | 84fcf633d9ca507124806d64729cb8463bcebb69 (diff) | |
download | scala-b9785280a7138a2bb52060faf94807aa0d07dec1.tar.gz scala-b9785280a7138a2bb52060faf94807aa0d07dec1.tar.bz2 scala-b9785280a7138a2bb52060faf94807aa0d07dec1.zip |
Renamed tests named bugXXX to tXXX, no review.
Diffstat (limited to 'test/files/neg/bug783.scala')
-rw-r--r-- | test/files/neg/bug783.scala | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/files/neg/bug783.scala b/test/files/neg/bug783.scala deleted file mode 100644 index 59f7c7f97d..0000000000 --- a/test/files/neg/bug783.scala +++ /dev/null @@ -1,29 +0,0 @@ -package test; - -object Main extends App { - class Global { - case class Template(x : Int, y : Int) { - Console.println("outer: " + Global.this); - } - } - trait Contexts { self: Analyzer => - val xxx : global.Template = { - assert(globalInit0 != null); - globalInit0.Template(10, 20); - } - } - abstract class Analyzer extends Contexts { - type Global <: Main.Global; - final val global : Global = globalInit; - def globalInit : Global; - final def globalInit0 = globalInit.asInstanceOf[global.type]; - } - - object global0 extends Global { - object analyzer extends Analyzer { - type Global = global0.type; - override def globalInit = global0; - } - } - Console.println(global0.analyzer.xxx); -} |