-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
Domain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsFix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone

Description
TypeScript Version: nightly (2.2.0-dev.20170126)
Code
/// <reference path='fourslash.ts'/>
////enum E { A, B }
////declare const e: E;
////switch (e) {
//// case E.A:
//// return 0;
//// case E./**/
////}
verify.completionsAt("", ["B"]);
Currently we get get both A
and B
.
usernamehw, IllusionMH and zardoy
Metadata
Metadata
Assignees
Labels
Domain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsFix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript