Move inference parameter type in FunctionDescriptorResolver
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
// ERROR: Cannot infer a type for this parameter. To specify it explicitly use the {(p : Type) -> ...} notation
|
||||
// ERROR: Cannot infer a type for this parameter. To specify it explicitly use the {(p : Type) -> ...} notation
|
||||
// ERROR: Cannot infer a type for this parameter. Please specify it explicitly.
|
||||
// ERROR: Cannot infer a type for this parameter. Please specify it explicitly.
|
||||
fun main() {
|
||||
val sum = { (x, <caret>y) -> x + y // Type of x and y cannot be inferred, so intention can't be used
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user