Correct report of NO_VALUE_FOR_PARAMETER when function call contains no brackets and lambda at the end #KT-7813 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-02-01 14:34:05 +03:00
parent 84100abd9e
commit d194af5c4e
4 changed files with 33 additions and 1 deletions
@@ -0,0 +1,4 @@
package
public fun bar(/*0*/ p: (kotlin.String, kotlin.Any, () -> kotlin.String) -> kotlin.Unit): kotlin.Unit
public fun foo(/*0*/ p: (kotlin.Int, () -> kotlin.Int) -> kotlin.Unit): kotlin.Unit