parent
bc5047c1e7
commit
18302bf8e9
|
|
@ -4525,3 +4525,21 @@ issue_2485: {
|
|||
}
|
||||
expect_stdout: "6"
|
||||
}
|
||||
|
||||
issue_2455: {
|
||||
options = {
|
||||
reduce_vars: true,
|
||||
unused: true,
|
||||
}
|
||||
input: {
|
||||
function foo() {
|
||||
var that = this;
|
||||
for (;;) that.bar();
|
||||
}
|
||||
}
|
||||
expect: {
|
||||
function foo() {
|
||||
for (;;) this.bar();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user