mark wrapper methods that pass default values of parameters as synthetic

#KT-7314 Fixed
This commit is contained in:
Dmitry Jemerov
2015-04-10 17:20:55 +02:00
parent 900a16a315
commit 9434e4bee9
11 changed files with 15 additions and 37 deletions
@@ -2,9 +2,6 @@ class WithoutPrimary {
public static A test1() {
return new A("123", "abc");
}
public static A test2() {
return new A(null, 1, 3, null);
}
public static A test3() {
return new A("123", 456);
}
@@ -14,9 +14,6 @@ fun box(): String {
val test1 = WithoutPrimary.test1().toString()
if (test1 != "123#abc") return "fail1: $test1"
val test2 = WithoutPrimary.test2().toString()
if (test2 != "def_x#1") return "fail2: $test2"
val test3 = WithoutPrimary.test3().toString()
if (test3 != "123#456") return "fail3: $test3"