diff options
author | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-11-20 17:44:27 -0800 |
---|---|---|
committer | Josh Suereth <Joshua.Suereth@gmail.com> | 2012-11-20 17:44:27 -0800 |
commit | 6cc33f09993c688283d5602d077a518f5b49e4d7 (patch) | |
tree | a22304c40b9d88167257fa638ab67cc519aa2f0a /test/files/pos | |
parent | 29293ab56e61cc8bdb97210a04554ed4829b0ff3 (diff) | |
parent | 74ca558412b6ef9a8694a6f9d1034b9e09ba4af0 (diff) | |
download | scala-6cc33f09993c688283d5602d077a518f5b49e4d7.tar.gz scala-6cc33f09993c688283d5602d077a518f5b49e4d7.tar.bz2 scala-6cc33f09993c688283d5602d077a518f5b49e4d7.zip |
Merge pull request #1620 from namin/si-6551
Fixes SI-6551.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t6551.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/t6551.scala b/test/files/pos/t6551.scala new file mode 100644 index 0000000000..fb68663809 --- /dev/null +++ b/test/files/pos/t6551.scala @@ -0,0 +1,13 @@ +import language.dynamics + +object Test { + def main(args: Array[String]) { + class Lenser[T] extends Dynamic { + def selectDynamic(propName: String) = ??? + } + + def lens[T] = new Lenser[T] + + val qq = lens[String] + } +} |