You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed tests:
KotlinWhenExpressionTest>ValidationTestBase.all_missed_instructions_should_have_line_number:142 sum of missed instructions of all lines should be equal to missed instructions of file expected:<4> but was:<3>
Bisection of changes in Kotlin compiler pointed me to JetBrains/kotlin@5fb3800 which merely changes the language version, so either I made a mistake during bisection, or bytecode generation depends on the language version. I suspect the second because execution of Kotlin 1.9.22 compiler with option -language-version 2.0 produces the same result as the execution of Kotlin 2.0.0-Beta2 compiler.
@qwwdfsad could you please have a look and advise whether this change is intentional and we need to filter out getEntries methods in enums similarly to filtering valueOf and values methods, or this is an unintentionally overlooked change in the compiler?
The text was updated successfully, but these errors were encountered:
Currently execution of
leads to
which is because for
Kotlin
2.0.0-Beta2
compiler produceswhereas Kotlin
1.9.22
compiler producesBisection of changes in Kotlin compiler pointed me to JetBrains/kotlin@5fb3800 which merely changes the language version, so either I made a mistake during bisection, or bytecode generation depends on the language version. I suspect the second because execution of Kotlin
1.9.22
compiler with option-language-version 2.0
produces the same result as the execution of Kotlin2.0.0-Beta2
compiler.@qwwdfsad could you please have a look and advise whether this change is intentional and we need to filter out
getEntries
methods in enums similarly to filteringvalueOf
andvalues
methods, or this is an unintentionally overlooked change in the compiler?The text was updated successfully, but these errors were encountered: