Fixed unreachable code in tests.

This commit is contained in:
Daniel Rosenwasser committed 2015-11-06 14:25:32 -08:00
1 parent bb232f739d
commit f939ff23ce
2 files changed
-4

No files matched your search

@@ -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.");
}