Can't omit default object name in imports and types
There should be only one way to denote a type (A.Default.B can't be denoted as A.B)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import MyClass.*
|
||||
import MyClass.Default.TEST
|
||||
|
||||
fun main() {
|
||||
TEST
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import MyClass.TEST
|
||||
import MyClass.Default.TEST
|
||||
|
||||
fun main() {
|
||||
TEST
|
||||
|
||||
Reference in New Issue
Block a user