TypeScript/tests/cases/fourslash/completionListErrorRecovery2.ts

13 lines
318 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path="fourslash.ts" />
////class Foo { static bar() { return "x"; } }
////var baz = Foo/**/;
/////*1*/baz.concat("y");
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker();
edit.insert(".b");
verify.not.errorExistsAfterMarker("1");