[FIR] Implement DIVISION_BY_ZERO diagnostics, fix tests
This commit is contained in:
committed by
TeamCityServer
parent
964bba3530
commit
847ab40707
+1
-1
@@ -15,7 +15,7 @@ fun test3() {}
|
||||
@Foo(c = [1f], b = [""], a = [1])
|
||||
fun test4() {}
|
||||
|
||||
@Foo([1 + 2], ["Hello, " + "Kotlin"], [1 / 0f])
|
||||
@Foo([1 + 2], ["Hello, " + "Kotlin"], [<!DIVISION_BY_ZERO!>1 / 0f<!>])
|
||||
fun test5() {}
|
||||
|
||||
const val ONE = 1
|
||||
|
||||
Vendored
+1
-1
@@ -23,7 +23,7 @@ fun test1_2() {}
|
||||
@Ann2(*[])
|
||||
fun test2() {}
|
||||
|
||||
@Ann3(a = *[0f, 1 / 0f])
|
||||
@Ann3(a = *[0f, <!DIVISION_BY_ZERO!>1 / 0f<!>])
|
||||
fun test3() {}
|
||||
|
||||
@Ann5(Ann4(*["/"]))
|
||||
|
||||
Reference in New Issue
Block a user