Added diagnostic error when in function declaration name was omitted
This commit is contained in:
@@ -12,6 +12,6 @@ public class Nameless {
|
||||
import p.*
|
||||
|
||||
class K : <!INVISIBLE_MEMBER!>Nameless<!>() {
|
||||
fun<!SYNTAX!><!> () {}
|
||||
<!FUNCTION_DECLARATION_WITH_NO_NAME!>fun ()<!> {}
|
||||
val<!SYNTAX!><!> : Int = 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user