TypeScript/tests/cases/fourslash/identifierErrorRecovery.ts

14 lines
323 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path="fourslash.ts"/>
//// var /*1*/export/*2*/;
//// var foo;
//// var /*3*/class/*4*/;
//// var bar;
verify.errorExistsBetweenMarkers("1", "2");
verify.errorExistsBetweenMarkers("3", "4");
verify.numberOfErrorsInCurrentFile(3);
2014-07-13 01:04:16 +02:00
goTo.eof();
verify.completions({ includes: ["foo", "bar"] });