mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-06 02:00:01 -06:00
Use declared variables to confirm completion.
This commit is contained in:
parent
589a01c51f
commit
a71a826b5b
@ -1,7 +1,8 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////let v = 100;
|
||||
/////a/./**/
|
||||
|
||||
goTo.marker();
|
||||
verify.not.memberListContains('alert');
|
||||
verify.not.memberListContains('v');
|
||||
verify.memberListContains('compile');
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////let v = 100;
|
||||
////let x = /absidey//**/
|
||||
|
||||
// Should get nothing at the marker since it's
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////let v = 100;
|
||||
////let x = /absidey/
|
||||
/////**/
|
||||
|
||||
@ -7,4 +8,4 @@
|
||||
// newline separating us from the regex flags.
|
||||
|
||||
goTo.marker();
|
||||
verify.not.completionListIsEmpty();
|
||||
verify.completionListContains("v");
|
||||
@ -1,9 +1,10 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////let v = 100;
|
||||
////let x = /absidey/ /**/
|
||||
|
||||
// Should not be blocked since there is a
|
||||
// space separating us from the regex flags.
|
||||
|
||||
goTo.marker();
|
||||
verify.not.completionListIsEmpty();
|
||||
verify.completionListContains("v");
|
||||
Loading…
x
Reference in New Issue
Block a user