Add Kotlin 1.7 language version
This commit is contained in:
committed by
teamcityserver
parent
4a37de51bb
commit
85c7f386eb
+1
-1
@@ -1,4 +1,4 @@
|
||||
// !API_VERSION: LATEST
|
||||
// !API_VERSION: LATEST_STABLE
|
||||
|
||||
fun test(s: String?): Int {
|
||||
s!!
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// !API_VERSION: LATEST
|
||||
// !API_VERSION: LATEST_STABLE
|
||||
|
||||
fun test(s: String?): Int {
|
||||
s!!
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
// !API_VERSION: LATEST
|
||||
// !API_VERSION: LATEST_STABLE
|
||||
|
||||
fun test(s: String) = s?.length
|
||||
|
||||
// 0 IFNULL
|
||||
// 0 IFNONNULL
|
||||
// 0 intValue
|
||||
// 1 valueOf
|
||||
// 0 valueOf
|
||||
|
||||
Reference in New Issue
Block a user