Replaced "namespace header" with "package directive" in parser error.
#KT-1799 fixed
This commit is contained in:
@@ -286,7 +286,7 @@ public class JetParsing extends AbstractJetParsing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (declType == null) {
|
if (declType == null) {
|
||||||
errorAndAdvance("Expecting namespace or top level declaration");
|
errorAndAdvance("Expecting package directive or top level declaration");
|
||||||
decl.drop();
|
decl.drop();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user