Support named arguments for Java constructors annotated with KotlinSignature

This commit is contained in:
Alexander Udalov
2014-03-19 23:08:56 +04:00
parent d2dc54c14f
commit 7d311cdfa0
14 changed files with 189 additions and 43 deletions

View File

@@ -0,0 +1,5 @@
package test;
public class genericConstructor<T extends Number> {
public genericConstructor(T number) {}
}

View File

@@ -0,0 +1,9 @@
import test.genericConstructor
class Subclass : genericConstructor<Int>(42) {
}
fun box(): String {
Subclass()
return "OK"
}