diff options
author | mihaylov <mihaylov@epfl.ch> | 2006-03-28 14:47:06 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2006-03-28 14:47:06 +0000 |
commit | abc7c2c51c2e0e2cdaca71b38776d91b50e0b690 (patch) | |
tree | a472a2b93a16994a69f1632fc565ec7795568e87 /test/pending/neg | |
parent | e858e292e5871848c8665ebad177a6592aeec740 (diff) | |
download | scala-abc7c2c51c2e0e2cdaca71b38776d91b50e0b690.tar.gz scala-abc7c2c51c2e0e2cdaca71b38776d91b50e0b690.tar.bz2 scala-abc7c2c51c2e0e2cdaca71b38776d91b50e0b690.zip |
Rearranged directories in test/pending/
Diffstat (limited to 'test/pending/neg')
-rwxr-xr-x | test/pending/neg/bug432.scala | 2 | ||||
-rw-r--r-- | test/pending/neg/bug555.scala | 5 | ||||
-rw-r--r-- | test/pending/neg/bug556.scala | 4 | ||||
-rw-r--r-- | test/pending/neg/bug558.scala | 19 |
4 files changed, 30 insertions, 0 deletions
diff --git a/test/pending/neg/bug432.scala b/test/pending/neg/bug432.scala new file mode 100755 index 0000000000..8e3097ac9d --- /dev/null +++ b/test/pending/neg/bug432.scala @@ -0,0 +1,2 @@ +case class Tata +object Tata diff --git a/test/pending/neg/bug555.scala b/test/pending/neg/bug555.scala new file mode 100644 index 0000000000..26dbe6cc0d --- /dev/null +++ b/test/pending/neg/bug555.scala @@ -0,0 +1,5 @@ +object Main extends Application { + def tata = { + def titi = {} + } +} diff --git a/test/pending/neg/bug556.scala b/test/pending/neg/bug556.scala new file mode 100644 index 0000000000..4f4e905fbb --- /dev/null +++ b/test/pending/neg/bug556.scala @@ -0,0 +1,4 @@ +object Main extends Application { + def f(a:Int=>Int):Int = a(4) + def g:Int = f((x,y)=>x) +} diff --git a/test/pending/neg/bug558.scala b/test/pending/neg/bug558.scala new file mode 100644 index 0000000000..f88471f776 --- /dev/null +++ b/test/pending/neg/bug558.scala @@ -0,0 +1,19 @@ +package scala.tools.nsc.models; +import scala.tools.util._; + +abstract class NewModel { + abstract class SymbolURL { + val top : RootURL; + val name : String; + val source : AbstractFile; + } + abstract class NodeURL extends SymbolURL { + val parent : SymbolURL; + final val top = parent.top; + final val source = top.file; + + } + abstract class RootURL extends SymbolURL { + final val top : RootURL = this; + } +} |