What do you want to happen? An error? Note that `t...
# announcements
k
What do you want to happen? An error? Note that
typealias
and
import
are very different,
typealias
is only about the type,
import
is the actual class but the classname can also happen to represent the type.
f
Two private type aliases in two different files should not collide as I would expect private to be limited to the file. As is the case with any other private symbol. In the import case I would expect that
Long
continues to be available to me. I don't really understand why default imports are removed just because an aliased import is present.
k
Missed the private part, that's indeed a bug: https://youtrack.jetbrains.com/issue/KT-24700
👍 1
a
why do you rename the import and still want to use the previous name?
f
I tried the import way because the private type aliases are broken. 😉