提交 44516ddf 编写于 作者: J Johannes Rieken

recompile rule, #15293

上级 d9a83a62
......@@ -61,7 +61,7 @@ var LayeringRule = (function (_super) {
}
if (this._config.disallowed.has(part)) {
// BAD - wrong layer
var message = "Bad layering. You are not allowed to access '" + part + "' from here, allowed layers are: [" + new Array(...this._config.allowed.keys()).join(', ') + "]";
var message = "Bad layering. You are not allowed to access '" + part + "' from here, allowed layers are: [" + new (Array.bind.apply(Array, [void 0].concat((this._config.allowed.keys()))))().join(', ') + "]";
this.addFailure(this.createFailure(node.getStart(), node.getWidth(), message));
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册