mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
12 lines
234 B
Kotlin
Vendored
12 lines
234 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
//EA-35646
|
|
package a
|
|
|
|
class MyClass1 {
|
|
public operator fun unaryPlus() {}
|
|
}
|
|
|
|
fun main(arg: MyClass1) {
|
|
arg<!NI;DEBUG_INFO_UNRESOLVED_WITH_TARGET, UNRESOLVED_REFERENCE_WRONG_RECEIVER!>+<!><!SYNTAX!><!>
|
|
}
|