summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-29 21:38:38 +0000
committerPaul Phillips <paulp@improving.org>2011-07-29 21:38:38 +0000
commit902c61f397069b9918f1854b8bf95a50b52c08fc (patch)
treef4c5aad4bee75936f5112064daf4501cf7c368c4 /test/files
parent4231a0bc06765d914790078c184c525b9b7a1ef4 (diff)
downloadscala-902c61f397069b9918f1854b8bf95a50b52c08fc.tar.gz
scala-902c61f397069b9918f1854b8bf95a50b52c08fc.tar.bz2
scala-902c61f397069b9918f1854b8bf95a50b52c08fc.zip
Disabled all the old scala.reflect._ tests whic...
Disabled all the old scala.reflect._ tests which are now crash-failing, no review.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/pos/bug531.scala10
-rw-r--r--test/files/pos/bug532.scala10
-rw-r--r--test/files/pos/code.scala3
-rw-r--r--test/files/pos/t0651.scala4
-rw-r--r--test/files/run/t2886.check1
-rw-r--r--test/files/run/t2886.scala7
6 files changed, 0 insertions, 35 deletions
diff --git a/test/files/pos/bug531.scala b/test/files/pos/bug531.scala
deleted file mode 100644
index 02763e08f1..0000000000
--- a/test/files/pos/bug531.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-object Test extends App {
- import scala.reflect._;
- def titi = {
- var truc = 0
- val tata: Code[()=>Unit] = () => {
- truc = 6
- }
- ()
- }
-}
diff --git a/test/files/pos/bug532.scala b/test/files/pos/bug532.scala
deleted file mode 100644
index 32649b1629..0000000000
--- a/test/files/pos/bug532.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-object Test extends App {
- import scala.reflect._;
- def titi: Unit = {
- var truc = 0
- val tata: Code[()=>Unit] = () => {
- truc = truc + 6
- }
- ()
- }
-}
diff --git a/test/files/pos/code.scala b/test/files/pos/code.scala
deleted file mode 100644
index 110e01c619..0000000000
--- a/test/files/pos/code.scala
+++ /dev/null
@@ -1,3 +0,0 @@
-class Test {
- val fun: reflect.Code[Int => Int] = x => x + 1;
-}
diff --git a/test/files/pos/t0651.scala b/test/files/pos/t0651.scala
deleted file mode 100644
index 52bef7e02b..0000000000
--- a/test/files/pos/t0651.scala
+++ /dev/null
@@ -1,4 +0,0 @@
-object Reflection1 extends App {
- case class Element(name: String)
- println(reflect.Code.lift({val e = Element("someName"); e}).tree)
-}
diff --git a/test/files/run/t2886.check b/test/files/run/t2886.check
deleted file mode 100644
index 39ee46a3df..0000000000
--- a/test/files/run/t2886.check
+++ /dev/null
@@ -1 +0,0 @@
-Function(List(LocalValue(NoSymbol,x,PrefixedType(SingleType(ThisType(Class(scala)),Field(scala.Predef,PrefixedType(ThisType(Class(scala)),Class(scala.Predef)))),TypeField(scala.Predef.String,PrefixedType(ThisType(Class(java.lang)),Class(java.lang.String)))))),Block(List(ValDef(LocalValue(NoSymbol,x$1,NoType),Ident(LocalValue(NoSymbol,x,PrefixedType(SingleType(ThisType(Class(scala)),Field(scala.Predef,PrefixedType(ThisType(Class(scala)),Class(scala.Predef)))),TypeField(scala.Predef.String,PrefixedType(ThisType(Class(java.lang)),Class(java.lang.String))))))), ValDef(LocalValue(NoSymbol,x$2,NoType),Ident(LocalValue(NoSymbol,x,PrefixedType(SingleType(ThisType(Class(scala)),Field(scala.Predef,PrefixedType(ThisType(Class(scala)),Class(scala.Predef)))),TypeField(scala.Predef.String,PrefixedType(ThisType(Class(java.lang)),Class(java.lang.String)))))))),Apply(Select(This(Class(Test)),Method(Test.test,MethodType(List(LocalValue(NoSymbol,name,PrefixedType(SingleType(ThisType(Class(scala)),Field(scala.Predef,PrefixedType(ThisType(Class(scala)),Class(scala.Predef)))),TypeField(scala.Predef.String,PrefixedType(ThisType(Class(java.lang)),Class(java.lang.String))))), LocalValue(NoSymbol,address,PrefixedType(SingleType(ThisType(Class(scala)),Field(scala.Predef,PrefixedType(ThisType(Class(scala)),Class(scala.Predef)))),TypeField(scala.Predef.String,PrefixedType(ThisType(Class(java.lang)),Class(java.lang.String)))))),PrefixedType(ThisType(Class(scala)),Class(scala.Null))))),List(Ident(LocalValue(NoSymbol,x$2,NoType)), Ident(LocalValue(NoSymbol,x$1,NoType)))))) \ No newline at end of file
diff --git a/test/files/run/t2886.scala b/test/files/run/t2886.scala
deleted file mode 100644
index eb392f0c58..0000000000
--- a/test/files/run/t2886.scala
+++ /dev/null
@@ -1,7 +0,0 @@
-object Test {
- def test(name: String, address: String) = null
- def main(args: Array[String]) = {
- val tree = scala.reflect.Code.lift((x:String) => test(address=x,name=x)).tree
- println(tree)
- }
-}