We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a90614 commit ed4feadCopy full SHA for ed4fead
src/compiler/binder.ts
@@ -1234,9 +1234,11 @@ namespace ts {
1234
const postExpressionLabel = createBranchLabel();
1235
bindCondition(node.condition, trueLabel, falseLabel);
1236
currentFlow = finishFlowLabel(trueLabel);
1237
+ bind(node.questionToken);
1238
bind(node.whenTrue);
1239
addAntecedent(postExpressionLabel, currentFlow);
1240
currentFlow = finishFlowLabel(falseLabel);
1241
+ bind(node.colonToken);
1242
bind(node.whenFalse);
1243
1244
currentFlow = finishFlowLabel(postExpressionLabel);
0 commit comments