FIR IDE: Add tests for resolving from nested types references
Some of those tests are failing in the FIR IDE
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package foo.bar.baz
|
||||
|
||||
class AA {
|
||||
class BB {
|
||||
companion object
|
||||
}
|
||||
}
|
||||
|
||||
fun test(param: foo.bar.baz.AA.BB.<caret>Companion) {}
|
||||
|
||||
// REF: companion object of (in foo.bar.baz.AA).BB
|
||||
@@ -0,0 +1,11 @@
|
||||
package foo.bar.baz
|
||||
|
||||
class AA {
|
||||
class BB {
|
||||
class CC
|
||||
}
|
||||
}
|
||||
|
||||
fun test(param: foo.bar.<caret>baz.AA.BB.CC) {}
|
||||
|
||||
// REF: baz
|
||||
@@ -0,0 +1,11 @@
|
||||
package foo.bar.baz
|
||||
|
||||
class AA {
|
||||
class BB {
|
||||
class CC
|
||||
}
|
||||
}
|
||||
|
||||
fun test(param: foo.<caret>bar.baz.AA.BB.CC) {}
|
||||
|
||||
// REF: bar
|
||||
@@ -0,0 +1,11 @@
|
||||
package foo.bar.baz
|
||||
|
||||
class AA {
|
||||
class BB {
|
||||
class CC
|
||||
}
|
||||
}
|
||||
|
||||
fun test(param: <caret>foo.bar.baz.AA.BB.CC) {}
|
||||
|
||||
// REF: foo
|
||||
@@ -0,0 +1,11 @@
|
||||
package foo.bar.baz
|
||||
|
||||
class AA {
|
||||
class BB {
|
||||
class CC
|
||||
}
|
||||
}
|
||||
|
||||
fun test(param: foo.bar.baz.AA.BB.<caret>CC) {}
|
||||
|
||||
// REF: (in foo.bar.baz.AA.BB).CC
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package foo.bar.baz
|
||||
|
||||
class AA {
|
||||
class BB {
|
||||
companion object
|
||||
}
|
||||
}
|
||||
|
||||
fun test(param: foo.bar.baz.AA.<caret>BB.Companion) {}
|
||||
|
||||
// REF: (in foo.bar.baz.AA).BB
|
||||
@@ -0,0 +1,11 @@
|
||||
package foo.bar.baz
|
||||
|
||||
class AA {
|
||||
class BB {
|
||||
class CC
|
||||
}
|
||||
}
|
||||
|
||||
fun test(param: foo.bar.baz.AA.<caret>BB.CC) {}
|
||||
|
||||
// REF: (in foo.bar.baz.AA).BB
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package foo.bar.baz
|
||||
|
||||
class AA {
|
||||
class BB {
|
||||
companion object
|
||||
}
|
||||
}
|
||||
|
||||
fun test(param: foo.bar.baz.<caret>AA.BB.Companion) {}
|
||||
|
||||
// REF: (foo.bar.baz).AA
|
||||
@@ -0,0 +1,11 @@
|
||||
package foo.bar.baz
|
||||
|
||||
class AA {
|
||||
class BB {
|
||||
class CC
|
||||
}
|
||||
}
|
||||
|
||||
fun test(param: foo.bar.baz.<caret>AA.BB.CC) {}
|
||||
|
||||
// REF: (foo.bar.baz).AA
|
||||
Reference in New Issue
Block a user