Generated constructors with default parameter values are marked with kotlin.jvm.overloads annotation

This commit is contained in:
Valentin Kipyatkov
2015-04-07 21:27:10 +03:00
parent 1afbb961ee
commit 9b80d49bab
18 changed files with 46 additions and 30 deletions
@@ -1,4 +1,4 @@
class C private (arg1: Int, arg2: Int, arg3: Int = 0) {
class C [overloads] private (arg1: Int, arg2: Int, arg3: Int = 0) {
public constructor(arg1: Int) : this(arg1, 0, 0) {
}