6356807997
#KT-36247 fixed A lot of testdata changed because significanly less (error) descriptors are created for unresolved types, so diagnostics became different.
12 lines
196 B
Kotlin
Vendored
12 lines
196 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
//EA-35646
|
|
package a
|
|
|
|
class MyClass1 {
|
|
public operator fun unaryPlus() {}
|
|
}
|
|
|
|
fun main(arg: MyClass1) {
|
|
arg<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>+<!><!SYNTAX!><!>
|
|
}
|