diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-10-18 01:50:29 -0700 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-10-18 01:50:29 -0700 |
commit | db43498ae719cf0adb06aa56f423a2452f3b1687 (patch) | |
tree | 3173580fe2b6e3faf5b95e80b5f07b4117adb96b /test | |
parent | 1571af7a8a7e78b67d052f371abc44c751930666 (diff) | |
parent | fbbc767b7a001436185c631b9fb7e688dbdf3a6a (diff) | |
download | scala-db43498ae719cf0adb06aa56f423a2452f3b1687.tar.gz scala-db43498ae719cf0adb06aa56f423a2452f3b1687.tar.bz2 scala-db43498ae719cf0adb06aa56f423a2452f3b1687.zip |
Merge pull request #3045 from retronym/ticket/7688-4
Fix AsSeenFrom of ThisType from TypeVar prefix
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t7688.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t7688.scala b/test/files/pos/t7688.scala new file mode 100644 index 0000000000..5a846b97e9 --- /dev/null +++ b/test/files/pos/t7688.scala @@ -0,0 +1,7 @@ +import scala.reflect.macros._ + +class A[C <: Context with Singleton](position: C#Position) + +object A { + def apply(c: Context)(in: c.Tree): A[c.type] = new A(in.pos) +} |