Accept new baselines

This commit is contained in:
Anders Hejlsberg
2017-09-08 15:52:02 -07:00
parent 4ba50aadb0
commit c646971cec
2 changed files with 4 additions and 3 deletions
@@ -1,10 +1,12 @@
tests/cases/compiler/largeControlFlowGraph.ts(5003,1): error TS2563: The body of the containing function or module is too large for control flow analysis.
tests/cases/compiler/largeControlFlowGraph.ts(3,1): error TS2563: The containing function or module body is too large for control flow analysis.
==== tests/cases/compiler/largeControlFlowGraph.ts (1 errors) ====
// The control flow graph for the following statement block is 10000 nodes deep. Check that
// we gracefully handle this, possibly by issuing an error.
const data = [];
~~~~~
!!! error TS2563: The containing function or module body is too large for control flow analysis.
data[0] = 0;
data[0] = 0;
data[0] = 0;
@@ -5005,8 +5007,6 @@ tests/cases/compiler/largeControlFlowGraph.ts(5003,1): error TS2563: The body of
data[0] = 0;
data[0] = 0;
data[0] = 0;
~~~~
!!! error TS2563: The body of the containing function or module is too large for control flow analysis.
data[0] = 0;
data[0] = 0;
data[0] = 0;
@@ -10005,6 +10005,7 @@ data[0] = 0;
//// [largeControlFlowGraph.js]
"use strict";
// The control flow graph for the following statement block is 10000 nodes deep. Check that
// we gracefully handle this, possibly by issuing an error.
var data = [];