Fixed test data
This commit is contained in:
-2
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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]) → kotlin.Int</td></tr></table></html>
|
||||
// ERROR: Unresolved reference: NoSuchType
|
||||
|
||||
|
||||
Reference in New Issue
Block a user