TypeScript/tests/cases/fourslash/identifierErrorRecovery.ts
2014-07-29 12:17:44 -07:00

15 lines
350 B
TypeScript

/// <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(2);
goTo.eof();
verify.completionListContains("foo");
verify.completionListContains("bar");