e6b5cb5216
Update includes:
- Changing syntax of `OI/`NI` tags from `<!NI;TAG!>` to `<!TAG{NI}!>`
- Fix some incorrect directives
- Change order of diagnostics in some places
- Remove ignored diagnostics from FIR test data (previously `DIAGNOSTICS` didn't work)
- Update FIR dumps in some places and add `FIR_IDENTICAL` if needed
- Replace all JAVAC_SKIP with SKIP_JAVAC directive
33 lines
517 B
Kotlin
Vendored
33 lines
517 B
Kotlin
Vendored
// FILE: rootPackage.kt
|
|
class Klass {
|
|
class Nested
|
|
}
|
|
|
|
class NotImported
|
|
|
|
fun function() = ""
|
|
|
|
val property = ""
|
|
|
|
// FILE: anotherFromRootPackage.kt
|
|
fun foo(): Klass {
|
|
function() + property
|
|
return Klass()
|
|
}
|
|
|
|
// FILE: yetAnotherFromRootPackage.kt
|
|
package pkg
|
|
|
|
import Klass
|
|
import Klass.Nested
|
|
import function
|
|
import property
|
|
|
|
fun foo(): Klass {
|
|
function() + property
|
|
return Klass()
|
|
}
|
|
|
|
val v: Nested = Nested()
|
|
val x: <!UNRESOLVED_REFERENCE!>NotImported<!> = <!UNRESOLVED_REFERENCE!>NotImported<!>()
|