@@ -6423,7 +6423,7 @@ merge(Compressor.prototype, {
|
|||||||
|
|
||||||
OPT(AST_Dot, function(self, compressor) {
|
OPT(AST_Dot, function(self, compressor) {
|
||||||
if (self.property == "arguments" || self.property == "caller") {
|
if (self.property == "arguments" || self.property == "caller") {
|
||||||
compressor.warn("Function.protoype.{prop} not supported [{file}:{line},{col}]", {
|
compressor.warn("Function.prototype.{prop} not supported [{file}:{line},{col}]", {
|
||||||
prop: self.property,
|
prop: self.property,
|
||||||
file: self.start.file,
|
file: self.start.file,
|
||||||
line: self.start.line,
|
line: self.start.line,
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ warn: {
|
|||||||
}().length);
|
}().length);
|
||||||
}
|
}
|
||||||
expect_warnings: [
|
expect_warnings: [
|
||||||
"WARN: Function.protoype.caller not supported [test/compress/issue-2719.js:5,19]",
|
"WARN: Function.prototype.caller not supported [test/compress/issue-2719.js:5,19]",
|
||||||
"WARN: Function.protoype.arguments not supported [test/compress/issue-2719.js:5,19]",
|
"WARN: Function.prototype.arguments not supported [test/compress/issue-2719.js:5,19]",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user