Updating java to kotlin convert to new language syntax

This commit is contained in:
Valentin Kipyatkov
2015-05-27 13:30:58 +03:00
parent 802ca5476d
commit 87cb36e8e9
24 changed files with 56 additions and 55 deletions
@@ -1,5 +1,5 @@
// ERROR: Overload resolution ambiguity: public constructor C(arg1: kotlin.Int, arg2: kotlin.Int) defined in C kotlin.jvm.jvmOverloads public constructor C(arg1: kotlin.Int, arg2: kotlin.Int = ..., arg3: kotlin.Int = ...) defined in C
class C [jvmOverloads] (arg1: Int, arg2: Int = 0, arg3: Int = 0) {
class C @jvmOverloads constructor(arg1: Int, arg2: Int = 0, arg3: Int = 0) {
private val field: Int
init {