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

Some comments are removed #8800

Open
lukerossie opened this issue May 25, 2016 · 0 comments
Open

Some comments are removed #8800

lukerossie opened this issue May 25, 2016 · 0 comments
Labels
Bug A bug in TypeScript Help Wanted You can do this
Milestone

Comments

@lukerossie
Copy link

lukerossie commented May 25, 2016

TypeScript Version:

1.7.5

Code

export function lex(source: string): Array<string>
{//validation and tokenization
}
// A self-contained demonstration of the problem follows...

The comment after the beginning curly brace is discarded.

Expected behavior:

After being compiled the comment is not discarded.

Actual behavior:
The comment is discarded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

3 participants