f1d8a6e5d1
and fix CONFLICTING_OVERLOADS to use it
15 lines
415 B
Kotlin
Vendored
15 lines
415 B
Kotlin
Vendored
<!CONFLICTING_OVERLOADS{LT}!><!CONFLICTING_OVERLOADS{PSI}!>fun takeString(s: String)<!> {}<!>
|
|
|
|
class Wrapper(val s: String?) {
|
|
fun withThis() {
|
|
if (s != null) {
|
|
takeString(this.s) // Should be OK
|
|
}
|
|
if (this.s != null) {
|
|
takeString(s) // Should be OK
|
|
}
|
|
}
|
|
}
|
|
|
|
<!CONFLICTING_OVERLOADS{LT}!><!CONFLICTING_OVERLOADS{PSI}!>fun takeString(s: String)<!> {}<!>
|