diff --git a/compiler/testData/codegen/box/ieee754/nullableDoubleEquals10.kt b/compiler/testData/codegen/box/ieee754/nullableDoubleEquals10.kt index aec2421eaa9..e1a6605570b 100644 --- a/compiler/testData/codegen/box/ieee754/nullableDoubleEquals10.kt +++ b/compiler/testData/codegen/box/ieee754/nullableDoubleEquals10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun myEquals(a: Double?, b: Double?) = a == b fun myEquals1(a: Double?, b: Double) = a == b @@ -23,4 +24,4 @@ fun box(): String { if (!myEquals0(0.0, 0.0)) return "fail 9" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/ieee754/nullableDoubleEqualsLV13.kt b/compiler/testData/codegen/box/ieee754/nullableDoubleEqualsLV13.kt index 62ff31cea93..42bc32ee52c 100644 --- a/compiler/testData/codegen/box/ieee754/nullableDoubleEqualsLV13.kt +++ b/compiler/testData/codegen/box/ieee754/nullableDoubleEqualsLV13.kt @@ -1,5 +1,3 @@ -// LANGUAGE_VERSION: 1.3 - fun myEquals(a: Double?, b: Double?) = a == b fun myEquals1(a: Double?, b: Double) = a == b @@ -24,4 +22,4 @@ fun box(): String { if (!myEquals0(0.0, 0.0)) return "fail 9" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/ieee754/nullableDoubleNotEquals10.kt b/compiler/testData/codegen/box/ieee754/nullableDoubleNotEquals10.kt index 7ec29384f5a..bbe5a8ab196 100644 --- a/compiler/testData/codegen/box/ieee754/nullableDoubleNotEquals10.kt +++ b/compiler/testData/codegen/box/ieee754/nullableDoubleNotEquals10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun myNotEquals(a: Double?, b: Double?) = a != b fun myNotEquals1(a: Double?, b: Double) = a != b @@ -23,4 +24,4 @@ fun box(): String { if (myNotEquals0(0.0, 0.0)) return "fail 9" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/ieee754/nullableFloatEquals10.kt b/compiler/testData/codegen/box/ieee754/nullableFloatEquals10.kt index b6899058120..24cd16fb594 100644 --- a/compiler/testData/codegen/box/ieee754/nullableFloatEquals10.kt +++ b/compiler/testData/codegen/box/ieee754/nullableFloatEquals10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun myEquals(a: Float?, b: Float?) = a == b fun myEquals1(a: Float?, b: Float) = a == b @@ -23,4 +24,4 @@ fun box(): String { if (!myEquals0(0.0F, 0.0F)) return "fail 9" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/ieee754/nullableFloatNotEquals10.kt b/compiler/testData/codegen/box/ieee754/nullableFloatNotEquals10.kt index a9eeb821db4..ce2657cbe19 100644 --- a/compiler/testData/codegen/box/ieee754/nullableFloatNotEquals10.kt +++ b/compiler/testData/codegen/box/ieee754/nullableFloatNotEquals10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun myNotEquals(a: Float?, b: Float?) = a != b fun myNotEquals1(a: Float?, b: Float) = a != b @@ -23,4 +24,4 @@ fun box(): String { if (myNotEquals0(0.0F, 0.0F)) return "fail 9" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/ieee754/when10.kt b/compiler/testData/codegen/box/ieee754/when10.kt index 13f512ed039..7c241185b1f 100644 --- a/compiler/testData/codegen/box/ieee754/when10.kt +++ b/compiler/testData/codegen/box/ieee754/when10.kt @@ -1,7 +1,7 @@ +// !API_VERSION: 1.0 // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR -// LANGUAGE_VERSION: 1.0 fun box(): String { val plusZero: Any = 0.0 @@ -32,4 +32,4 @@ fun box(): String { } return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/ieee754/whenNullableSmartCast10.kt b/compiler/testData/codegen/box/ieee754/whenNullableSmartCast10.kt index f497a7468b6..6db9a8bccea 100644 --- a/compiler/testData/codegen/box/ieee754/whenNullableSmartCast10.kt +++ b/compiler/testData/codegen/box/ieee754/whenNullableSmartCast10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun box(): String { val nullValue: Any? = null val nullDouble: Double? = null diff --git a/compiler/testData/codegen/bytecodeText/ieee754/nullableDoubleEquals10.kt b/compiler/testData/codegen/bytecodeText/ieee754/nullableDoubleEquals10.kt index 6dffd64b53d..c85ee6793b9 100644 --- a/compiler/testData/codegen/bytecodeText/ieee754/nullableDoubleEquals10.kt +++ b/compiler/testData/codegen/bytecodeText/ieee754/nullableDoubleEquals10.kt @@ -1,4 +1,4 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 fun myEquals(a: Double?, b: Double?) = a == b diff --git a/compiler/testData/codegen/bytecodeText/ieee754/nullableDoubleNotEquals10.kt b/compiler/testData/codegen/bytecodeText/ieee754/nullableDoubleNotEquals10.kt index ca3718a9a48..eccf8822717 100644 --- a/compiler/testData/codegen/bytecodeText/ieee754/nullableDoubleNotEquals10.kt +++ b/compiler/testData/codegen/bytecodeText/ieee754/nullableDoubleNotEquals10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun myNotEquals(a: Double?, b: Double?) = a != b fun myNotEquals1(a: Double?, b: Double) = a != b diff --git a/compiler/testData/codegen/bytecodeText/ieee754/nullableFloatEquals10.kt b/compiler/testData/codegen/bytecodeText/ieee754/nullableFloatEquals10.kt index 0ae95ebf757..d362657b066 100644 --- a/compiler/testData/codegen/bytecodeText/ieee754/nullableFloatEquals10.kt +++ b/compiler/testData/codegen/bytecodeText/ieee754/nullableFloatEquals10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun myEquals(a: Float?, b: Float?) = a == b fun myEquals1(a: Float?, b: Float) = a == b diff --git a/compiler/testData/codegen/bytecodeText/ieee754/nullableFloatNotEquals10.kt b/compiler/testData/codegen/bytecodeText/ieee754/nullableFloatNotEquals10.kt index 75194d70a01..fa42ff1511c 100644 --- a/compiler/testData/codegen/bytecodeText/ieee754/nullableFloatNotEquals10.kt +++ b/compiler/testData/codegen/bytecodeText/ieee754/nullableFloatNotEquals10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun myNotEquals(a: Float?, b: Float?) = a != b fun myNotEquals1(a: Float?, b: Float) = a != b diff --git a/compiler/testData/codegen/bytecodeText/ieee754/smartCastsForDouble10.kt b/compiler/testData/codegen/bytecodeText/ieee754/smartCastsForDouble10.kt index ff96a3d644b..f8df33f71ce 100644 --- a/compiler/testData/codegen/bytecodeText/ieee754/smartCastsForDouble10.kt +++ b/compiler/testData/codegen/bytecodeText/ieee754/smartCastsForDouble10.kt @@ -1,4 +1,4 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 fun equals5(a: Any?, b: Any?) = if (a is Double && b is Double?) a == b else null!! @@ -20,4 +20,4 @@ fun box(): String { } // 3 areEqual \(Ljava/lang/Object;Ljava/lang/Object;\)Z -// 3 areEqual \ No newline at end of file +// 3 areEqual diff --git a/compiler/testData/codegen/bytecodeText/ieee754/smartCastsForFloat10.kt b/compiler/testData/codegen/bytecodeText/ieee754/smartCastsForFloat10.kt index 7c46cfa3e38..b2305921b35 100644 --- a/compiler/testData/codegen/bytecodeText/ieee754/smartCastsForFloat10.kt +++ b/compiler/testData/codegen/bytecodeText/ieee754/smartCastsForFloat10.kt @@ -1,4 +1,4 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 fun equals5(a: Any?, b: Any?) = if (a is Float && b is Float?) a == b else null!! @@ -20,4 +20,4 @@ fun box(): String { } // 3 areEqual \(Ljava/lang/Object;Ljava/lang/Object;\)Z -// 3 areEqual \ No newline at end of file +// 3 areEqual diff --git a/compiler/testData/codegen/bytecodeText/ieee754/when10.kt b/compiler/testData/codegen/bytecodeText/ieee754/when10.kt index 34a589e9fd6..7e24c887fcb 100644 --- a/compiler/testData/codegen/bytecodeText/ieee754/when10.kt +++ b/compiler/testData/codegen/bytecodeText/ieee754/when10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun box(): String { val plusZero: Any = 0.0 val minusZero: Any = -0.0 @@ -29,4 +30,4 @@ fun box(): String { } // 4 areEqual \(Ljava/lang/Object;Ljava/lang/Object;\)Z -// 4 areEqual \ No newline at end of file +// 4 areEqual diff --git a/compiler/testData/codegen/bytecodeText/ieee754/whenNullableSmartCast10.kt b/compiler/testData/codegen/bytecodeText/ieee754/whenNullableSmartCast10.kt index 678021ae10a..77c857700e8 100644 --- a/compiler/testData/codegen/bytecodeText/ieee754/whenNullableSmartCast10.kt +++ b/compiler/testData/codegen/bytecodeText/ieee754/whenNullableSmartCast10.kt @@ -1,4 +1,5 @@ -// LANGUAGE_VERSION: 1.0 +// !API_VERSION: 1.0 + fun box(): String { val nullValue: Any? = null val nullDouble: Double? = null @@ -26,5 +27,6 @@ fun box(): String { } return "OK" } + // 4 areEqual \(Ljava/lang/Object;Ljava/lang/Object;\)Z // 4 areEqual