Files
kotlin/compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError/valWithNoNameInBlock.txt
Denis Zharkov f1026935a0 Add recovery for properties without name
If property name is parsed on the next line and declaration is invalid
(no receiver/type/initializer), treat that name as it does not belong to property

 #KT-12987 In Progress
2016-07-08 16:06:47 +03:00

7 lines
208 B
Plaintext
Vendored

package
public val propertyNameOnTheNextLine: kotlin.Int = 1
public fun foo(): kotlin.Unit
public fun println(/*0*/ x: kotlin.String): kotlin.Unit
public fun run(/*0*/ block: () -> kotlin.Unit): kotlin.Unit