Reorder definitions in the scope test

master
Paul Loyd 2017-11-09 12:18:11 +03:00
parent ec87f9dda0
commit 07bc3156c2
1 changed files with 6 additions and 6 deletions

View File

@ -5,35 +5,35 @@ type Y = {
};
(function () {
type X = number;
type Y = {
x: X,
};
type Z = string;
function foo() {
type X = boolean;
type X = number;
function foo() {
type Y = {
x: X,
z: Z,
};
type X = boolean;
// TODO: replace with commonjs.
export {Y as Y2};
}
class Test {
static bar() {
type X = number;
type Y = {
x: X,
z: Z,
};
type X = number;
export {Y as Y3};
}