Added test for KT-334 Can't use java.lang.Comparable by the short name
#KT-334 obsolete
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>java.lang.Comparable<!> as Comparable
|
||||
|
||||
fun f(c: <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>Comparable<*><!>) {
|
||||
<!TYPE_MISMATCH!>c<!>: jet.Comparable<*>
|
||||
c: <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>java.lang.Comparable<*><!>
|
||||
}
|
||||
Reference in New Issue
Block a user