2ecba6ac39
This directive anyway does not make test run twice with OI, and with NI It only once run the test with specific settings (// LANGUAGE) and ignores irrelevant (OI or NI tags)
11 lines
174 B
Kotlin
Vendored
11 lines
174 B
Kotlin
Vendored
class MyClass(var p: String?)
|
|
|
|
fun bar(s: String): Int {
|
|
return s.length
|
|
}
|
|
|
|
fun foo(m: MyClass): Int {
|
|
m.p = "xyz"
|
|
return bar(<!ARGUMENT_TYPE_MISMATCH!>m.p<!>)
|
|
}
|