[FIR] Add missing tests to resolve
Merge-request: KT-MR-11666 Merged-by: Egor Kulikov <Egor.Kulikov@jetbrains.com>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
class Foo {
|
||||
operator fun contains(v: Int) = true
|
||||
}
|
||||
fun foo() = 0 <caret>in Foo()
|
||||
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in Foo) operator fun contains(v: kotlin.Int): kotlin.Boolean
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
return@<caret>foo
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in ROOT) fun foo()
|
||||
@@ -0,0 +1,4 @@
|
||||
class Foo {
|
||||
operator fun contains(v: Int) = true
|
||||
}
|
||||
fun foo() = 0 <caret>!in Foo()
|
||||
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in Foo) operator fun contains(v: kotlin.Int): kotlin.Boolean
|
||||
Reference in New Issue
Block a user