system hoist bug test case

This commit is contained in:
guybedford
2015-05-18 23:35:09 +02:00
parent 9be3d9c8e1
commit 887ffed84c
2 changed files with 5 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ export function nextOdd(n) {
export var p = 5;
for (var a in b) ;
export var isOdd = (function (isEven) {
return function (n) {
return !isEven(n);

View File

@@ -1,7 +1,7 @@
System.register(["./evens"], function (_export) {
"use strict";
var isEven, p, isOdd;
var isEven, p, a, isOdd;
_export("nextOdd", nextOdd);
@@ -16,6 +16,8 @@ System.register(["./evens"], function (_export) {
execute: function () {
p = 5;
for (a in b) ;
_export("p", p);
isOdd = (function (isEven) {