Skip to content

Emit comment on catch clause #11755

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
ghost opened this issue Oct 20, 2016 · 0 comments · Fixed by #22141
Closed

Emit comment on catch clause #11755

ghost opened this issue Oct 20, 2016 · 0 comments · Fixed by #22141
Assignees
Labels
Bug A bug in TypeScript Domain: Comment Emit The issue relates to the emission of comments when compiling Fixed A PR has been merged for this issue

Comments

@ghost
Copy link

ghost commented Oct 20, 2016

TypeScript Version: nightly (2.1.0-dev.20161020)

Code

try { }
catch (/*error*/ e) { }

Expected output:

Same as the input

Actual output:

try { }
catch (e) { }
@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Oct 21, 2016
@mhegazy mhegazy added this to the Future milestone Oct 24, 2016
@DanielRosenwasser DanielRosenwasser added the Domain: Comment Emit The issue relates to the emission of comments when compiling label Aug 3, 2017
@weswigham weswigham modified the milestones: Future, TypeScript 2.8 Mar 3, 2018
@weswigham weswigham self-assigned this Mar 3, 2018
@weswigham weswigham added the Fixed A PR has been merged for this issue label Mar 3, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Domain: Comment Emit The issue relates to the emission of comments when compiling Fixed A PR has been merged for this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants