607325c6e5
#KT-30389 Fixed
12 lines
300 B
Kotlin
Vendored
12 lines
300 B
Kotlin
Vendored
// "Create function 'synchronized'" "false"
|
|
// ACTION: Convert expression to 'Int'
|
|
// ACTION: Round using roundToInt()
|
|
// ERROR: Type mismatch: inferred type is Float but Int was expected
|
|
// WITH_RUNTIME
|
|
|
|
fun test() {
|
|
var value = 0
|
|
synchronized(value) {
|
|
value = <caret>10 / 1f
|
|
}
|
|
} |