diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-14 14:08:01 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-14 14:08:01 -0800 |
commit | af7cf11f07581bf92628c82b7bf2cf3cca3e32c9 (patch) | |
tree | 0d3fa379fad88a9ab1f5a23cff4f1a5176c140ad /test/files | |
parent | e86675f582ed8fef880f71744241f30e0d57a51c (diff) | |
parent | 2a1b15ea5d8b9e4060846135e8a7adf74b9c398f (diff) | |
download | scala-af7cf11f07581bf92628c82b7bf2cf3cca3e32c9.tar.gz scala-af7cf11f07581bf92628c82b7bf2cf3cca3e32c9.tar.bz2 scala-af7cf11f07581bf92628c82b7bf2cf3cca3e32c9.zip |
Merge pull request #3533 from adriaanm/t8283
SI-8283 mutation-free bound inference for existentials
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/existential-java-case-class/Client.scala | 3 | ||||
-rw-r--r-- | test/files/pos/existential-java-case-class/J.java | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/existential-java-case-class/Client.scala b/test/files/pos/existential-java-case-class/Client.scala new file mode 100644 index 0000000000..368899820f --- /dev/null +++ b/test/files/pos/existential-java-case-class/Client.scala @@ -0,0 +1,3 @@ +case class CC(x: J[_]) + +case class CC1(x: Any => J[_]) diff --git a/test/files/pos/existential-java-case-class/J.java b/test/files/pos/existential-java-case-class/J.java new file mode 100644 index 0000000000..7fd7848286 --- /dev/null +++ b/test/files/pos/existential-java-case-class/J.java @@ -0,0 +1 @@ +public class J<T extends String> {} |