diff options
author | Paul Phillips <paulp@improving.org> | 2011-11-26 07:39:27 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-11-26 07:39:27 +0000 |
commit | afc755916f7e67f1f2c899972de8801b1ef62543 (patch) | |
tree | fd11b17ba26a42a9509a5c9b35136e02553416e6 /test/files | |
parent | 1b98d1fa2a54dc1d8fafed6d270534d729420c21 (diff) | |
download | scala-afc755916f7e67f1f2c899972de8801b1ef62543.tar.gz scala-afc755916f7e67f1f2c899972de8801b1ef62543.tar.bz2 scala-afc755916f7e67f1f2c899972de8801b1ef62543.zip |
Annotations reacquainted with reification.
Had AnnotationInfo extend Product3 since it's no longer a case class.
Tried to make reflection a little more robust. Closes SI-5223, review by
vogt.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t5223.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t5223.scala b/test/files/pos/t5223.scala new file mode 100644 index 0000000000..51682e9254 --- /dev/null +++ b/test/files/pos/t5223.scala @@ -0,0 +1,6 @@ +import scala.reflect._ + +object Foo extends App { + Code.lift{def printf(format: String, args: Any*): String = null } + Code.lift{def printf(format: String, args: Any*): String = ("abc": @cloneable)} +} |