Add ir interpreter tests

This commit is contained in:
Ivan Kylchik
2021-05-19 16:27:03 +03:00
committed by TeamCityServer
parent cc2d7340dc
commit e28ab45c51
115 changed files with 5104 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
@CompileTimeCalculation
fun getLenght(value: String?): Int = value?.length ?: -1
const val a1 = <!EVALUATED: `5`!>getLenght("Elvis")<!>
const val a2 = <!EVALUATED: `-1`!>getLenght(null)<!>