Fixed test data

This commit is contained in:
Valentin Kipyatkov
2015-04-29 12:13:50 +03:00
parent 1daf12cf70
commit c52f69538d
2 changed files with 1 additions and 3 deletions
@@ -1,8 +1,6 @@
// "Change parameter 'z' type of function 'foo' to '(Int) -> String'" "false"
// ACTION: Disable 'Move Lambda Function Into Parentheses'
// ACTION: Edit intention settings
// ACTION: Move lambda function into parentheses
fun foo(y: Int = 0, z: (Int) -> String = {""}) {
foo {
@@ -5,7 +5,7 @@
// ACTION: Create class 'NoSuchType'
// ACTION: Create enum 'NoSuchType'
// ACTION: Create trait 'NoSuchType'
// ACTION: Make types implicit in lambda (may break code)
// ACTION: Remove explicit lambda parameter types (may break code)
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>kotlin.Int</td></tr><tr><td>Found:</td><td>([ERROR : NoSuchType]) &rarr; kotlin.Int</td></tr></table></html>
// ERROR: Unresolved reference: NoSuchType