Added diagnostic error when in function declaration name was omitted

This commit is contained in:
Stanislav Erokhin
2015-02-05 19:45:24 +03:00
parent a8536fef9b
commit 560c32c0f1
19 changed files with 128 additions and 14 deletions
@@ -1,3 +1,4 @@
// ERROR: Function declaration must have a name
class Owner {
fun <caret>() {}
}
@@ -1,3 +1,4 @@
// ERROR: Function declaration must have a name
class Owner {
}