parent
e2e4b7fb37
commit
a489f8cb5e
|
|
@ -973,7 +973,7 @@ issue_3871: {
|
|||
expect_stdout: "PASS"
|
||||
}
|
||||
|
||||
issue_3945: {
|
||||
issue_3945_1: {
|
||||
options = {
|
||||
hoist_props: true,
|
||||
reduce_vars: true,
|
||||
|
|
@ -995,3 +995,24 @@ issue_3945: {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
issue_3945_2: {
|
||||
options = {
|
||||
hoist_props: true,
|
||||
reduce_vars: true,
|
||||
toplevel: true,
|
||||
}
|
||||
input: {
|
||||
console.log(typeof o);
|
||||
var o = {
|
||||
p: 0,
|
||||
};
|
||||
}
|
||||
expect: {
|
||||
console.log(typeof o);
|
||||
var o = {
|
||||
p: 0,
|
||||
};
|
||||
}
|
||||
expect_stdout: "undefined"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user