Do not compare local classes by FqNames
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
private var x = object {}
|
||||
|
||||
fun test() {
|
||||
// No error, because the type of x is normalized to Any
|
||||
x = object {}
|
||||
}
|
||||
Reference in New Issue
Block a user