tweak info message template
This commit is contained in:
parent
1baf3a8f10
commit
8264cdd15c
|
|
@ -792,8 +792,13 @@ merge(Compressor.prototype, {
|
|||
// Further optimize statement after substitution.
|
||||
stat.reset_opt_flags(compressor);
|
||||
|
||||
compressor.info("Collapsing " + (is_constant ? "constant" : "variable") +
|
||||
" " + var_name + " [{file}:{line},{col}]", node.start);
|
||||
compressor.info("Collapsing {type} {name} [{file}:{line},{col}]", {
|
||||
type: is_constant ? "constant" : "variable",
|
||||
name: var_name,
|
||||
file: node.start.file,
|
||||
line: node.start.line,
|
||||
col: node.start.col
|
||||
});
|
||||
CHANGED = true;
|
||||
return value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user