Skip to content

Commit

Permalink
Update LKG.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser committed Feb 21, 2019
1 parent 2c02f13 commit b145eaf
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 18 deletions.
10 changes: 7 additions & 3 deletions lib/tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
var ts;
(function (ts) {
ts.versionMajorMinor = "3.3";
ts.version = ts.versionMajorMinor + ".3";
ts.version = ts.versionMajorMinor + ".3333";

This comment has been minimized.

Copy link
@Incognito

Incognito Feb 22, 2019

Will the next release be 3.3.3334?

This comment has been minimized.

Copy link
@DanielRosenwasser

DanielRosenwasser Feb 22, 2019

Author Member

Maybe. Maybe 3.3.33333.

This comment has been minimized.

Copy link
@Incognito

Incognito Feb 22, 2019

Both are fine for me.

})(ts || (ts = {}));
(function (ts) {
ts.emptyArray = [];
Expand Down Expand Up @@ -22903,15 +22903,19 @@ var ts;
flowAfterCatch = currentFlow;
}
if (node.finallyBlock) {
var preFinallyPrior = preTryFlow;
if (!node.catchClause) {
if (tryPriors.length) {
var preFinallyFlow_1 = createBranchLabel();
addAntecedent(preFinallyFlow_1, preTryFlow);
for (var _a = 0, tryPriors_2 = tryPriors; _a < tryPriors_2.length; _a++) {
var p = tryPriors_2[_a];
addAntecedent(preFinallyLabel, p);
addAntecedent(preFinallyFlow_1, p);
}
preFinallyPrior = finishFlowLabel(preFinallyFlow_1);
}
}
var preFinallyFlow = { flags: 2048, antecedent: preTryFlow, lock: {} };
var preFinallyFlow = { flags: 2048, antecedent: preFinallyPrior, lock: {} };
addAntecedent(preFinallyLabel, preFinallyFlow);
currentFlow = finishFlowLabel(preFinallyLabel);
bind(node.finallyBlock);
Expand Down
10 changes: 7 additions & 3 deletions lib/tsserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.3";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".3";
ts.version = ts.versionMajorMinor + ".3333";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -28107,12 +28107,16 @@ var ts;
// We add the nodes within the `try` block to the `finally`'s antecedents if there's no catch block
// (If there is a `catch` block, it will have all these antecedents instead, and the `finally` will
// have the end of the `try` block and the end of the `catch` block)
var preFinallyPrior = preTryFlow;
if (!node.catchClause) {
if (tryPriors.length) {
var preFinallyFlow_1 = createBranchLabel();
addAntecedent(preFinallyFlow_1, preTryFlow);
for (var _a = 0, tryPriors_2 = tryPriors; _a < tryPriors_2.length; _a++) {
var p = tryPriors_2[_a];
addAntecedent(preFinallyLabel, p);
addAntecedent(preFinallyFlow_1, p);
}
preFinallyPrior = finishFlowLabel(preFinallyFlow_1);
}
}
// in finally flow is combined from pre-try/flow from try/flow from catch
Expand Down Expand Up @@ -28141,7 +28145,7 @@ var ts;
//
// extra edges that we inject allows to control this behavior
// if when walking the flow we step on post-finally edge - we can mark matching pre-finally edge as locked so it will be skipped.
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preTryFlow, lock: {} };
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preFinallyPrior, lock: {} };
addAntecedent(preFinallyLabel, preFinallyFlow);
currentFlow = finishFlowLabel(preFinallyLabel);
bind(node.finallyBlock);
Expand Down
10 changes: 7 additions & 3 deletions lib/tsserverlibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.3";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".3";
ts.version = ts.versionMajorMinor + ".3333";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -28103,12 +28103,16 @@ var ts;
// We add the nodes within the `try` block to the `finally`'s antecedents if there's no catch block
// (If there is a `catch` block, it will have all these antecedents instead, and the `finally` will
// have the end of the `try` block and the end of the `catch` block)
var preFinallyPrior = preTryFlow;
if (!node.catchClause) {
if (tryPriors.length) {
var preFinallyFlow_1 = createBranchLabel();
addAntecedent(preFinallyFlow_1, preTryFlow);
for (var _a = 0, tryPriors_2 = tryPriors; _a < tryPriors_2.length; _a++) {
var p = tryPriors_2[_a];
addAntecedent(preFinallyLabel, p);
addAntecedent(preFinallyFlow_1, p);
}
preFinallyPrior = finishFlowLabel(preFinallyFlow_1);
}
}
// in finally flow is combined from pre-try/flow from try/flow from catch
Expand Down Expand Up @@ -28137,7 +28141,7 @@ var ts;
//
// extra edges that we inject allows to control this behavior
// if when walking the flow we step on post-finally edge - we can mark matching pre-finally edge as locked so it will be skipped.
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preTryFlow, lock: {} };
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preFinallyPrior, lock: {} };
addAntecedent(preFinallyLabel, preFinallyFlow);
currentFlow = finishFlowLabel(preFinallyLabel);
bind(node.finallyBlock);
Expand Down
10 changes: 7 additions & 3 deletions lib/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.3";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".3";
ts.version = ts.versionMajorMinor + ".3333";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -28094,12 +28094,16 @@ var ts;
// We add the nodes within the `try` block to the `finally`'s antecedents if there's no catch block
// (If there is a `catch` block, it will have all these antecedents instead, and the `finally` will
// have the end of the `try` block and the end of the `catch` block)
var preFinallyPrior = preTryFlow;
if (!node.catchClause) {
if (tryPriors.length) {
var preFinallyFlow_1 = createBranchLabel();
addAntecedent(preFinallyFlow_1, preTryFlow);
for (var _a = 0, tryPriors_2 = tryPriors; _a < tryPriors_2.length; _a++) {
var p = tryPriors_2[_a];
addAntecedent(preFinallyLabel, p);
addAntecedent(preFinallyFlow_1, p);
}
preFinallyPrior = finishFlowLabel(preFinallyFlow_1);
}
}
// in finally flow is combined from pre-try/flow from try/flow from catch
Expand Down Expand Up @@ -28128,7 +28132,7 @@ var ts;
//
// extra edges that we inject allows to control this behavior
// if when walking the flow we step on post-finally edge - we can mark matching pre-finally edge as locked so it will be skipped.
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preTryFlow, lock: {} };
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preFinallyPrior, lock: {} };
addAntecedent(preFinallyLabel, preFinallyFlow);
currentFlow = finishFlowLabel(preFinallyLabel);
bind(node.finallyBlock);
Expand Down
10 changes: 7 additions & 3 deletions lib/typescriptServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.3";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".3";
ts.version = ts.versionMajorMinor + ".3333";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -28094,12 +28094,16 @@ var ts;
// We add the nodes within the `try` block to the `finally`'s antecedents if there's no catch block
// (If there is a `catch` block, it will have all these antecedents instead, and the `finally` will
// have the end of the `try` block and the end of the `catch` block)
var preFinallyPrior = preTryFlow;
if (!node.catchClause) {
if (tryPriors.length) {
var preFinallyFlow_1 = createBranchLabel();
addAntecedent(preFinallyFlow_1, preTryFlow);
for (var _a = 0, tryPriors_2 = tryPriors; _a < tryPriors_2.length; _a++) {
var p = tryPriors_2[_a];
addAntecedent(preFinallyLabel, p);
addAntecedent(preFinallyFlow_1, p);
}
preFinallyPrior = finishFlowLabel(preFinallyFlow_1);
}
}
// in finally flow is combined from pre-try/flow from try/flow from catch
Expand Down Expand Up @@ -28128,7 +28132,7 @@ var ts;
//
// extra edges that we inject allows to control this behavior
// if when walking the flow we step on post-finally edge - we can mark matching pre-finally edge as locked so it will be skipped.
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preTryFlow, lock: {} };
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preFinallyPrior, lock: {} };
addAntecedent(preFinallyLabel, preFinallyFlow);
currentFlow = finishFlowLabel(preFinallyLabel);
bind(node.finallyBlock);
Expand Down
10 changes: 7 additions & 3 deletions lib/typingsInstaller.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.3";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".3";
ts.version = ts.versionMajorMinor + ".3333";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -28107,12 +28107,16 @@ var ts;
// We add the nodes within the `try` block to the `finally`'s antecedents if there's no catch block
// (If there is a `catch` block, it will have all these antecedents instead, and the `finally` will
// have the end of the `try` block and the end of the `catch` block)
var preFinallyPrior = preTryFlow;
if (!node.catchClause) {
if (tryPriors.length) {
var preFinallyFlow_1 = createBranchLabel();
addAntecedent(preFinallyFlow_1, preTryFlow);
for (var _a = 0, tryPriors_2 = tryPriors; _a < tryPriors_2.length; _a++) {
var p = tryPriors_2[_a];
addAntecedent(preFinallyLabel, p);
addAntecedent(preFinallyFlow_1, p);
}
preFinallyPrior = finishFlowLabel(preFinallyFlow_1);
}
}
// in finally flow is combined from pre-try/flow from try/flow from catch
Expand Down Expand Up @@ -28141,7 +28145,7 @@ var ts;
//
// extra edges that we inject allows to control this behavior
// if when walking the flow we step on post-finally edge - we can mark matching pre-finally edge as locked so it will be skipped.
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preTryFlow, lock: {} };
var preFinallyFlow = { flags: 2048 /* PreFinally */, antecedent: preFinallyPrior, lock: {} };
addAntecedent(preFinallyLabel, preFinallyFlow);
currentFlow = finishFlowLabel(preFinallyLabel);
bind(node.finallyBlock);
Expand Down

0 comments on commit b145eaf

Please sign in to comment.