Files
kotlin-fork/idea/testData/android/quickfix/viewConstructor/simple.after.kt
T
2017-01-26 00:56:33 +03:00

13 lines
431 B
Kotlin
Vendored

// "Add Android View constructors using '@JvmOverloads'" "true"
// ERROR: This type has a constructor, and thus must be initialized here
// WITH_RUNTIME
package com.myapp.activity
import android.content.Context
import android.util.AttributeSet
import android.view.View
class Foo @JvmOverloads constructor(
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
) : View<caret>(context, attrs, defStyleAttr)