TypeScript/tests/cases/fourslash/regexErrorRecovery.ts

13 lines
369 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path="fourslash.ts" />
//// // test code
//////var x = //**/a/;/*1*/
//////x.exec("bab");
//goTo.marker("");
//debug.printCurrentFileState();
//verify.quickInfoIs("RegExp");
//// Bug 579071: Parser no longer detects a Regex when an open bracket is inserted
edit.insert("(");
////verify.quickInfoIs("RegExp");
////verify.not.errorExistsAfterMarker("1");