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,7 @@
|
||||
package test.foo.bar
|
||||
|
||||
class A
|
||||
|
||||
val k = test.foo.bar.A::class
|
||||
|
||||
val l = java.lang.Class::class
|
||||
Reference in New Issue
Block a user