Add assertion message

This commit is contained in:
Ron Buckton committed 2018-05-03 16:27:15 -07:00
1 parent a7074e2054
commit de10e82e8a
1 file changed
+1 -1
+1 -1
View File
@@ -486,7 +486,7 @@ namespace ts {
return pipelineEmitWithHint;
default:
return Debug.assertNever(phase);
return Debug.assertNever(phase, `Unexpected value for PipelinePhase: ${phase}`);
}
}