Skip to content

Keep leadingComments of CallExpression #17606

@morlay

Description

@morlay

TypeScript Version: 2.3.3 +

Code

export const a = /*#__PURE__*/create("a")

Expected behavior:
CallExpression.leadingComments should have comments

Actual behavior:
in https://astexplorer.net/
image

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

No branches or pull requests

Issue actions