TypeScript/tests/cases/fourslash/pasteLambdaOverModule.ts

13 lines
250 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path="fourslash.ts" />
//// /**/
goTo.marker();
var code = 'module B { }';
edit.paste(code);
goTo.bof();
edit.deleteAtCaret(code.length);
edit.insert('var t = (public x) => { };');
verify.numberOfErrorsInCurrentFile(1);