2017-05-25 00:24:49 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
2015-05-13 23:43:17 +02:00
|
|
|
|
2015-05-14 00:30:28 +02:00
|
|
|
////var x : (s/*1*/
|
2015-05-13 23:43:17 +02:00
|
|
|
|
|
|
|
////var y : (s:string, list/*2*/
|
|
|
|
|
2017-05-25 00:24:49 +02:00
|
|
|
goTo.marker("1");
|
|
|
|
verify.not.completionListIsEmpty();// As this can either be type or become arrow function parameter
|
|
|
|
verify.completionListAllowsNewIdentifier();
|
|
|
|
|
|
|
|
goTo.marker("2");
|
|
|
|
verify.completionListIsEmpty(); // Parameter name
|
|
|
|
verify.completionListAllowsNewIdentifier();
|