Accept new baselines

This commit is contained in:
Anders Hejlsberg
2019-10-15 08:40:24 -07:00
parent 3438681d6b
commit 00505adf78
3 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ tests/cases/compiler/fallFromLastCase2.ts(21,9): error TS7029: Fallthrough case
use("1");
break;
case 2:
~~~~
~~~~~~~
!!! error TS7029: Fallthrough case in switch.
use("2");
case 3:
@@ -26,7 +26,7 @@ tests/cases/compiler/fallFromLastCase2.ts(21,9): error TS7029: Fallthrough case
use("1");
break;
default:
~~~~~~~
~~~~~~~~
!!! error TS7029: Fallthrough case in switch.
use("2");
case 2:

View File

@@ -7,7 +7,7 @@ tests/cases/compiler/a.js(19,1): error TS7028: Unused label.
function foo(a, b) {
switch (a) {
case 10:
~~~~
~~~~~~~~
!!! error TS7029: Fallthrough case in switch.
if (b) {
return b;

View File

@@ -9,7 +9,7 @@ tests/cases/compiler/reachabilityChecks4.ts(22,9): error TS7029: Fallthrough cas
case 2:
return 1;
case 3:
~~~~
~~~~~~~
!!! error TS7029: Fallthrough case in switch.
if (y) {
return 2;
@@ -27,7 +27,7 @@ tests/cases/compiler/reachabilityChecks4.ts(22,9): error TS7029: Fallthrough cas
case 0:
fail();
case 1:
~~~~
~~~~~~~
!!! error TS7029: Fallthrough case in switch.
noop();
case 2: