diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-09 17:24:01 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-09 17:24:01 -0800 |
commit | 9038fe66959446787f92dc4e5dfaf9127bdab8c5 (patch) | |
tree | c52d7e5e68581c2610684b39f858b2ca78968b20 /test/files/pos/t6169/Exist.java | |
parent | 01d53a0aea8a62b93f9b6dc04d0565d1a59419ce (diff) | |
parent | 38162b564b8e0b9b500fdc0443cb9e1a423a3ba3 (diff) | |
download | scala-9038fe66959446787f92dc4e5dfaf9127bdab8c5.tar.gz scala-9038fe66959446787f92dc4e5dfaf9127bdab8c5.tar.bz2 scala-9038fe66959446787f92dc4e5dfaf9127bdab8c5.zip |
Merge pull request #3471 from adriaanm/t6169
SI-6169 Refine java wildcard bounds using corresponding tparam
Diffstat (limited to 'test/files/pos/t6169/Exist.java')
-rw-r--r-- | test/files/pos/t6169/Exist.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t6169/Exist.java b/test/files/pos/t6169/Exist.java new file mode 100644 index 0000000000..dfc6b36b33 --- /dev/null +++ b/test/files/pos/t6169/Exist.java @@ -0,0 +1,4 @@ +public class Exist<T extends String> { + // java helpfully re-interprets Exist<?> as Exist<? extends String> + public Exist<?> foo() { throw new RuntimeException(); } +}
\ No newline at end of file |