Add assertion message

This commit is contained in:
Ron Buckton
2018-05-03 16:27:15 -07:00
parent a7074e2054
commit de10e82e8a

View File

@@ -486,7 +486,7 @@ namespace ts {
return pipelineEmitWithHint;
default:
return Debug.assertNever(phase);
return Debug.assertNever(phase, `Unexpected value for PipelinePhase: ${phase}`);
}
}