summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2006-03-27 19:39:38 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2006-03-27 19:39:38 +0000
commit6b46664e637ff526507bd31b5bd2fb3cea1e715e (patch)
tree33174339dc79f34e77c093f16d5a1bd7ef52cfaa /test/files
parenta959828b60b7bacbdeff23f0ac1b7304d416df54 (diff)
downloadscala-6b46664e637ff526507bd31b5bd2fb3cea1e715e.tar.gz
scala-6b46664e637ff526507bd31b5bd2fb3cea1e715e.tar.bz2
scala-6b46664e637ff526507bd31b5bd2fb3cea1e715e.zip
Moved codification to its own phase.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/pos/bug531.scala2
-rw-r--r--test/files/pos/bug532.scala2
-rw-r--r--test/files/pos/code.scala2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/files/pos/bug531.scala b/test/files/pos/bug531.scala
index 858a46d374..26e4df988c 100644
--- a/test/files/pos/bug531.scala
+++ b/test/files/pos/bug531.scala
@@ -2,7 +2,7 @@ object Test extends Application {
import scala.reflect._;
def titi = {
var truc = 0
- val tata: TypedCode[()=>Unit] = () => {
+ val tata: Code[()=>Unit] = () => {
truc = 6
}
()
diff --git a/test/files/pos/bug532.scala b/test/files/pos/bug532.scala
index bd6a4cae93..2c1adfd5b4 100644
--- a/test/files/pos/bug532.scala
+++ b/test/files/pos/bug532.scala
@@ -2,7 +2,7 @@ object Test extends Application {
import scala.reflect._;
def titi: Unit = {
var truc = 0
- val tata: TypedCode[()=>Unit] = () => {
+ val tata: Code[()=>Unit] = () => {
truc = truc + 6
}
()
diff --git a/test/files/pos/code.scala b/test/files/pos/code.scala
index 05c6e4a779..421b0fb5bf 100644
--- a/test/files/pos/code.scala
+++ b/test/files/pos/code.scala
@@ -1,3 +1,3 @@
class Test {
- val fun: reflect.TypedCode[int => int] = x => x + 1;
+ val fun: reflect.Code[int => int] = x => x + 1;
}