fix error message in File::addHelper
This commit is contained in:
@@ -297,7 +297,7 @@ File.prototype.isConsequenceExpressionStatement = function (node) {
|
||||
|
||||
File.prototype.addHelper = function (name) {
|
||||
if (!contains(File.helpers, name)) {
|
||||
throw new ReferenceError("unknown declaration " + name);
|
||||
throw new ReferenceError("unknown helper " + name);
|
||||
}
|
||||
|
||||
var program = this.ast.program;
|
||||
|
||||
Reference in New Issue
Block a user