Skip to content

Emit comment on catch clause #11755

Closed
@ghost

Description

TypeScript Version: nightly (2.1.0-dev.20161020)

Code

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

Expected output:

Same as the input

Actual output:

try { }
catch (e) { }

Activity

added this to the Future milestone on Oct 24, 2016
modified the milestones: Future, TypeScript 2.8 on Mar 3, 2018
self-assigned this
on Mar 3, 2018
added
FixedA PR has been merged for this issue
on Mar 3, 2018
locked and limited conversation to collaborators on Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: Comment EmitThe issue relates to the emission of comments when compilingFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @yuit@DanielRosenwasser@weswigham@RyanCavanaugh@mhegazy

    Issue actions

      Emit comment on catch clause · Issue #11755 · microsoft/TypeScript