K2: drop C/DFA warning which fixes can break compilation in K1 till 1.8

#KT-50965 Fixed
This commit is contained in:
Mikhail Glukhikh
2022-04-28 15:10:24 +03:00
committed by Space
parent cc086bed58
commit 15d58aff92
14 changed files with 70 additions and 10 deletions
+4
View File
@@ -0,0 +1,4 @@
$TESTDATA_DIR$/firDfa.kt
-Xuse-k2
-d
$TEMP_DIR$
+5
View File
@@ -0,0 +1,5 @@
fun foo(x: String?) {
if (x != null) {
x!!.length
}
}
+4
View File
@@ -0,0 +1,4 @@
warning: ATTENTION!
This build uses experimental K2 compiler:
-Xuse-k2
OK