[Analysis API] Add reference resolution tests for code fragments
This commit is contained in:
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
// IGNORE_FE10
|
||||
|
||||
// MODULE: context
|
||||
|
||||
// FILE: context.kt
|
||||
fun test() {
|
||||
<caret_context>Unit
|
||||
}
|
||||
|
||||
val a: Int = 0
|
||||
val b: Int = 5
|
||||
|
||||
|
||||
// MODULE: main
|
||||
// MODULE_KIND: CodeFragment
|
||||
|
||||
// FILE: fragment.kt
|
||||
// CODE_FRAGMENT_KIND: BLOCK
|
||||
a <caret>+ b
|
||||
Reference in New Issue
Block a user