2017-03-07 22:40:15 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @allowjs: true
|
|
|
|
// @noEmit: true
|
|
|
|
// @checkJs: true
|
|
|
|
|
|
|
|
// @Filename: a.js
|
|
|
|
////var x = 0;
|
|
|
|
////
|
2018-03-06 21:19:19 +01:00
|
|
|
////function f(_a) {[|
|
2017-03-07 22:40:15 +01:00
|
|
|
//// /** comment for f */
|
2018-03-06 21:19:19 +01:00
|
|
|
//// f(x());
|
|
|
|
////|]}
|
2017-03-07 22:40:15 +01:00
|
|
|
|
|
|
|
// Disable checking for next line
|
2018-03-06 21:19:19 +01:00
|
|
|
verify.rangeAfterCodeFix(` /** comment for f */
|
2017-03-23 00:23:21 +01:00
|
|
|
// @ts-ignore
|
2018-03-06 21:19:19 +01:00
|
|
|
f(x());`, /*includeWhiteSpace*/ false, /*errorCode*/ undefined, /*index*/ 0);
|
2017-03-07 22:40:15 +01:00
|
|
|
|