Skip to content

TypeScript Syntax highlighting doesn't work in a function has a return type that ends in a number #213

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

Closed
aeschli opened this issue Jul 19, 2016 · 3 comments

Comments

@aeschli
Copy link

aeschli commented Jul 19, 2016

From @brianhoy on July 15, 2016 18:20

  • VSCode Version: Code 1.3.1 (e6b4afa53e9c0f54edef1673de9001e9f0f547ae, 2016-07-12T13:35:06.227Z)
  • OS Version: Windows_NT ia32 6.3.9600

Steps to Reproduce:

  1. Create a class that ends in a number.
  2. In that class, create a function and specify the return type as the name of the class you just created.
  3. Notice how syntax highlighting breaks in that function.

Notice how "return this" is black in the function that has a return type that ends in a number.
tssyntaxhighlightingbug

Copied from original issue: microsoft/vscode#9364

@epitaque
Copy link

epitaque commented Jul 20, 2016

Looks like this is a duplicate of #207. Sorry for posting this issue when there was already an issue for it.
Edit: Also a duplicate of #188

@glen-84
Copy link

glen-84 commented Aug 7, 2016

... and #153.

@sheetalkamat
Copy link
Member

Fixed by #257

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

4 participants