[Compiler CLI] Sort flags and features before appending them to string
JS IR BE incremental compilation infrastructure uses LanguageVersionSettings::toString method to detect if any compiler features or flags were enabled or disabled. It is important that the features and flags order are stable in the result string. ^KT-56580 Fixed
This commit is contained in:
committed by
Space Team
parent
df450ac43c
commit
43cef114c6
+7
@@ -0,0 +1,7 @@
|
||||
fun box(stepId: Int): String {
|
||||
when (stepId) {
|
||||
in 0..7 -> if (demo() != 42) return "Fail"
|
||||
else -> return "Unknown"
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
STEP 0..3:
|
||||
dependencies: lib1
|
||||
added file: m.kt
|
||||
STEP 4..5:
|
||||
dependencies: lib1
|
||||
STEP 6:
|
||||
dependencies: lib1
|
||||
added file: m.kt
|
||||
STEP 7:
|
||||
dependencies: lib1
|
||||
Reference in New Issue
Block a user