Fixups after merge

This commit is contained in:
Richard van Velzen
2016-04-18 15:51:32 +02:00
parent f94497d1d6
commit 68cc14f846
4 changed files with 24 additions and 17 deletions

View File

@@ -62,9 +62,9 @@ shorthand_properties: {
return value;
})();
expect: (function() {
var a = 1;
const b = {prop:a};
return b;
var n = 1;
const r = {prop:n};
return r;
})();
}
@@ -271,8 +271,8 @@ class_name_can_be_mangled: {
expect: {
function x() {
class a { }
var b = a
var c = class a {}
var n = a
var r = class a {}
}
}
}
@@ -354,13 +354,13 @@ import_statement_mangling: {
Whatever();
}
expect: {
import a from "foo";
import b, {Food as c} from "lel";
import {What as d} from "lel";
a();
b();
c();
d();
import l from "foo";
import e, {Food as o} from "lel";
import {What as f} from "lel";
l();
e();
o();
f();
}
}