bcefa68df0
Different line endings on linux/windows prevents gradle from reusing build cache since endings make task inputs completely different between systems
18 lines
252 B
Kotlin
Vendored
18 lines
252 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !CHECK_TYPE
|
|
// FILE: A.java
|
|
public enum A {
|
|
|
|
ENTRY {
|
|
public String s() {
|
|
return "s";
|
|
}
|
|
};
|
|
public abstract String s();
|
|
}
|
|
|
|
// FILE: test.kt
|
|
fun main() {
|
|
checkSubtype<String?>(A.ENTRY.s())
|
|
}
|