wow, nested typealiases actually work (inofficiall...
# announcements
m
wow, nested typealiases actually work (inofficially)! I’m so gonna exploit that 😅 Why don’t we have them yet? 😕
Copy code
class Foo {
    @Suppress("TOPLEVEL_TYPEALIASES_ONLY")
    typealias Bar = String
}

fun main() {
    val hello: Foo.Bar = "hello"

    println(hello)
}
m
last time when I checked it didn't work 😮
I suppose that @Suppress make all work
m
Not all 😄
Try ignoring an unresolved reference 😉
😂 2
m
without @Suppress https://pl.kotl.in/fA2dMiCL2 😞
m
Yeah I know. I’ll edit my message to make it more clear 😄
K 1