2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
/////*1*/foo(): Bar { }
|
|
|
|
/////*2*/function Foo () # { }
|
|
|
|
/////*3*/4+:5
|
|
|
|
//// module M {
|
|
|
|
////function a(
|
|
|
|
/////*4*/ : T) { }
|
|
|
|
////}
|
|
|
|
/////*5*/var x =
|
|
|
|
debugger;
|
|
|
|
format.document();
|
|
|
|
goTo.marker('1');
|
|
|
|
verify.currentLineContentIs('foo(): Bar { }');
|
|
|
|
goTo.marker('2');
|
2014-10-25 03:15:02 +02:00
|
|
|
verify.currentLineContentIs('function Foo() # { }');
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('3');
|
2014-10-25 03:15:02 +02:00
|
|
|
verify.currentLineContentIs('4 +:5');
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('4');
|
|
|
|
verify.currentLineContentIs(' : T) { }');
|
|
|
|
goTo.marker('5');
|
2014-11-11 02:24:22 +01:00
|
|
|
verify.currentLineContentIs('var x =');
|