Report error on non-top-level type aliases (unsupported in 1.1).
Get rid of nested type aliases in project.
This commit is contained in:
@@ -10,6 +10,7 @@ object O {
|
||||
}
|
||||
|
||||
class C {
|
||||
@Suppress("TOPLEVEL_TYPEALIASES_ONLY")
|
||||
typealias B = O
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user