diff options
author | ilyas <ilyas@epfl.ch> | 2010-03-01 18:37:55 +0000 |
---|---|---|
committer | ilyas <ilyas@epfl.ch> | 2010-03-01 18:37:55 +0000 |
commit | d3bf2e7801f465346f1b568b8c942d6449642a6a (patch) | |
tree | c7f043f55cd78b8c88f837b9e960f9723377fd95 /test/files/scalap/typeAnnotations | |
parent | 60ae43e753f0f48e245a46767dea597ec4b6db4e (diff) | |
download | scala-d3bf2e7801f465346f1b568b8c942d6449642a6a.tar.gz scala-d3bf2e7801f465346f1b568b8c942d6449642a6a.tar.bz2 scala-d3bf2e7801f465346f1b568b8c942d6449642a6a.zip |
scalap tests fixed
Diffstat (limited to 'test/files/scalap/typeAnnotations')
-rw-r--r-- | test/files/scalap/typeAnnotations/A.scala | 2 | ||||
-rw-r--r-- | test/files/scalap/typeAnnotations/result.test | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/files/scalap/typeAnnotations/A.scala b/test/files/scalap/typeAnnotations/A.scala index 582746764e..ff2445edc9 100644 --- a/test/files/scalap/typeAnnotations/A.scala +++ b/test/files/scalap/typeAnnotations/A.scala @@ -1,4 +1,4 @@ -abstract class AbsFun[@specialized R] { +abstract class TypeAnnotations[@specialized R] { @specialized val x = 10 @specialized type T diff --git a/test/files/scalap/typeAnnotations/result.test b/test/files/scalap/typeAnnotations/result.test index d48b3a2178..eed2e68eb0 100644 --- a/test/files/scalap/typeAnnotations/result.test +++ b/test/files/scalap/typeAnnotations/result.test @@ -1,8 +1,8 @@ -abstract class AbsFun[@scala.specialized R] extends java.lang.Object with scala.ScalaObject { +abstract class TypeAnnotations[@scala.specialized R] extends java.lang.Object with scala.ScalaObject { def this() = { /* compiled code */ } @scala.specialized val x : scala.Int = { /* compiled code */ } - @scala.specialized + @scala.specialized type T def compose[@scala.specialized A](x : A, y : R) : A = { /* compiled code */ } }
\ No newline at end of file |