mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Avoid generation of redundant toArray stubs
#KT-13698 In Progress
This commit is contained in:
14
compiler/testData/codegen/bytecodeListing/noToArrayInJava.kt
vendored
Normal file
14
compiler/testData/codegen/bytecodeListing/noToArrayInJava.kt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// FILE: test/JavaClass.java
|
||||
package test;
|
||||
|
||||
public abstract class JavaClass<T> implements A<T> {
|
||||
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
package test
|
||||
|
||||
interface A<T> : Collection<T>
|
||||
|
||||
// There must be toArray methods in B
|
||||
abstract class B<E> : JavaClass<E>()
|
||||
Reference in New Issue
Block a user