diff options
author | Paul Phillips <paulp@improving.org> | 2012-12-11 10:01:20 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-12-11 10:01:20 -0800 |
commit | 0fd2d80e0129c7fa7d2b081cc35b06ca5651c3a5 (patch) | |
tree | 60a9ceaeea6f0b2e54177c6bd37ac8b7b0ed2f25 /test | |
parent | c9bca57781ffa64e0d081facf668775f6eaff2e8 (diff) | |
parent | 18481cef9b219c48b3497c4605b793b22a7faf79 (diff) | |
download | scala-0fd2d80e0129c7fa7d2b081cc35b06ca5651c3a5.tar.gz scala-0fd2d80e0129c7fa7d2b081cc35b06ca5651c3a5.tar.bz2 scala-0fd2d80e0129c7fa7d2b081cc35b06ca5651c3a5.zip |
Merge remote-tracking branch 'origin/2.10.0-wip' into merge-wip-into-2.10.x
# By Eugene Burmako (1) and others
# Via Adriaan Moors (2) and others
* origin/2.10.0-wip:
Fixing OSGi distribution.
Fix for rangepos crasher.
SI-6685 fixes error handling in typedApply
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/classtag-pos.flags | 1 | ||||
-rw-r--r-- | test/files/pos/classtag-pos.scala | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/classtag-pos.flags b/test/files/pos/classtag-pos.flags new file mode 100644 index 0000000000..281f0a10cd --- /dev/null +++ b/test/files/pos/classtag-pos.flags @@ -0,0 +1 @@ +-Yrangepos diff --git a/test/files/pos/classtag-pos.scala b/test/files/pos/classtag-pos.scala new file mode 100644 index 0000000000..768d2e27f4 --- /dev/null +++ b/test/files/pos/classtag-pos.scala @@ -0,0 +1,5 @@ +import scala.reflect.runtime.universe._ + +class A { + def f[T: TypeTag] = typeOf[T] match { case TypeRef(_, _, args) => args } +} |