Fixed unreachable code in tests.

This commit is contained in:
Daniel Rosenwasser
2015-11-06 14:25:32 -08:00
parent bb232f739d
commit f939ff23ce
2 changed files with 0 additions and 4 deletions
@@ -12,6 +12,4 @@ function f(foo: T) {
else {
return (foo as S[])[0];
}
throw new Error("Unreachable code hit.");
}
@@ -13,6 +13,4 @@ function f(foo: T) {
else {
return foo[0];
}
throw new Error("Unreachable code hit.");
}