Test refactoring
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// Works already in M11
|
||||
|
||||
fun test(c : Class<*>) {
|
||||
val sc = <!UNCHECKED_CAST!>c as Class<String><!>
|
||||
// No ambiguous overload
|
||||
c.getAnnotations();
|
||||
sc.getAnnotations();
|
||||
}
|
||||
Reference in New Issue
Block a user