Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent typescript type highlighting #427

Closed
mjbvz opened this issue Mar 3, 2017 · 1 comment
Closed

Inconsistent typescript type highlighting #427

mjbvz opened this issue Mar 3, 2017 · 1 comment

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Mar 3, 2017

From @anvish on March 3, 2017 10:15

  • VSCode Version: Code 1.10.1 (653f8733dd5a5c43d66d7168b4701f94d72b62e5, 2017-03-02T00:33:15.706Z)
  • OS Version: Windows_NT ia32 6.1.7601
  • Extensions:
Extension Author Version
vscode-file-peek abierbaum 1.0.1
Bookmarks alefragnani 0.11.0
path-intellisense christian-kohler 1.2.0
vscode-eslint dbaeumer 1.2.7
tslint eg2 0.8.1
auto-close-tag formulahendry 0.3.9
auto-rename-tag formulahendry 0.0.11
contextualduplicate lafe 0.2.0
vscode-stylefmt mrmlnc 2.2.2
debugger-for-chrome msjsdiag 2.5.5
typescript-hero rbbit 0.12.0
stylelint shinnn 0.23.0

Steps to Reproduce:

function a(): { [key: string]: number } | { [key: string]: number } { throw 1 }

function b(a: { [key: string]: number } | { [key: string]: number }): void { }

bug5

Copied from original issue: microsoft/vscode#21872

@mjbvz
Copy link
Contributor Author

mjbvz commented Mar 3, 2017

The scope for the first:

meta.return.type.ts
meta.function.ts
source.ts

While the second is missing return.type:

meta.block.ts
meta.function.ts
source.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant