FIR: implement default star importing scope

This commit is contained in:
Mikhail Glukhikh
2018-03-23 13:35:29 +03:00
parent 284b21b2a6
commit 2bc063b230
7 changed files with 52 additions and 12 deletions
-3
View File
@@ -1,6 +1,3 @@
import kotlin.*
import kotlin.collections.*
abstract class MyStringList : List<String>
abstract class MyMutableStringList : MutableList<String>
+3 -3
View File
@@ -9,19 +9,19 @@ FILE: enum.kt
public? constructor(x: R/Some/)
public? final enum entry FIRST() : R/SomeEnum/ {
public? open? override function check(y: R/Some/): R/error: Symbol not found/ {
public? open? override function check(y: R/Some/): R/kotlin/Boolean/ {
STUB
}
}
public? final enum entry SECOND() : R/SomeEnum/ {
public? open? override function check(y: R/Some/): R/error: Symbol not found/ {
public? open? override function check(y: R/Some/): R/kotlin/Boolean/ {
STUB
}
}
public? abstract function check(y: R/Some/): R/error: Symbol not found/
public? abstract function check(y: R/Some/): R/kotlin/Boolean/
}
-2
View File
@@ -1,5 +1,3 @@
import kotlin.*
interface SomeInterface {
fun foo(x: Int, y: String): String