Refactor and improve class literal type checking code
Infer something sensible instead of error types when an error is reported, such as absence of a type argument for Array or presence of type arguments for other types
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package
|
||||
|
||||
package test {
|
||||
|
||||
package test.foo {
|
||||
|
||||
package test.foo.bar {
|
||||
public val k: kotlin.reflect.KClass<test.foo.bar.A>
|
||||
public val l: kotlin.reflect.KClass<java.lang.Class<*>>
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user