summaryrefslogtreecommitdiff
path: root/test/files/run/t1459generic.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan@lightbend.com>2017-01-12 14:46:30 -0800
committerAdriaan Moors <adriaan@lightbend.com>2017-01-24 16:35:55 -0800
commita75d3fdda25f228779ba7a6345571e6fce941197 (patch)
treec6c71e0070dc6dd11c44ac0a4136ceccbbe198ec /test/files/run/t1459generic.check
parentdc7ff5dd8402ea9cc1109bf729035b82c1340a51 (diff)
downloadscala-a75d3fdda25f228779ba7a6345571e6fce941197.tar.gz
scala-a75d3fdda25f228779ba7a6345571e6fce941197.tar.bz2
scala-a75d3fdda25f228779ba7a6345571e6fce941197.zip
SI-1459 two bridges for impl of java generic vararg method
A Scala method that implements a generic, Java-defined varargs method, needs two bridges: - to convert the collections for the repeated parameters (VBRIDGE) - to bridge the generics gap (BRIDGE) Refchecks emits the varargs "bridges", and erasure takes care of the other gap. Because a VBRIDGE was also an ARTIFACT, it was wrongly considered inert with respect to erasure, because `OverridingPairs` by default excluded artifacts. Removed the artifact flag from those VBRIDGES, so that they qualify for a real bridge. It would also work to include VBRIDGE methods that are artifacts in BridgesCursor.
Diffstat (limited to 'test/files/run/t1459generic.check')
-rw-r--r--test/files/run/t1459generic.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/t1459generic.check b/test/files/run/t1459generic.check
new file mode 100644
index 0000000000..367ac87ad1
--- /dev/null
+++ b/test/files/run/t1459generic.check
@@ -0,0 +1,2 @@
+ab
+ab