mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
Inline preevaluated string and primitive only constants in compilation time, don't inline const references in non-annotation context, fix for KT-11025: Don't inline const val in compare instuctions
#KT-11025 Fixed
This commit is contained in:
@@ -9,4 +9,4 @@ fun foo(x : String) : String {
|
||||
return "other"
|
||||
}
|
||||
|
||||
// 1 LOOKUPSWITCH
|
||||
// 0 LOOKUPSWITCH
|
||||
|
||||
Reference in New Issue
Block a user