Fix for KT-11584: Regression in 1.0.1: incorrect comparison of Long! with integer constant
#KT-11584 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//FILE: JavaClass.java
|
||||
|
||||
class JavaClass {
|
||||
public static Long get() { return 2364137526064485012L; }
|
||||
}
|
||||
|
||||
//FILE: test.kt
|
||||
|
||||
import JavaClass
|
||||
|
||||
fun box(): String {
|
||||
return if (JavaClass.get() > 0) "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user