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
-1
@@ -10,6 +10,6 @@ class Foo {
|
||||
}
|
||||
class User {
|
||||
fun main() : Unit {
|
||||
var <!UNUSED_VARIABLE!>boo<!> : Foo.Bar? /* <-- this reference is red */ = Foo.Bar()
|
||||
var <!UNUSED_VARIABLE!>boo<!> : Foo.Default.Bar? /* <-- this reference is red */ = Foo.Default.Bar()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user