Amend test data after adding Convert assignment to assignment expression intention

Relates to #KT-22420
This commit is contained in:
Vladimir Dolzhenko
2020-09-03 17:59:19 +02:00
parent 16ab11289c
commit d4ef85f6c2
12 changed files with 12 additions and 0 deletions
@@ -1,4 +1,5 @@
// "Create function 'synchronized'" "false"
// ACTION: Convert assignment to assignment expression
// ACTION: Convert expression to 'Int'
// ACTION: Round using roundToInt()
// ERROR: Type mismatch: inferred type is Float but Int was expected
@@ -2,6 +2,7 @@
// ACTION: Create local variable 'foo'
// ACTION: Create property 'foo'
// ACTION: Rename reference
// ACTION: Convert assignment to assignment expression
// ERROR: Unresolved reference: foo
fun test(n: Int) {