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

Preserve comments on elided import declarations #27407

Closed
wants to merge 2 commits into from

Conversation

weswigham
Copy link
Member

Fixes #26079

@weswigham
Copy link
Member Author

Ping @rbuckton do you think this approach is reasonable?

@@ -129,6 +129,8 @@ define(["require", "exports"], function (require, exports) {
define(["require", "exports", "commentsExternalModules_0"], function (require, exports, extMod) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**This is on import declaration*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look right.. This jsdoc comment is associated with import declaration and without it (and missing trailing comments followed by another declaration) could make these associated with that declaration...

@RyanCavanaugh RyanCavanaugh assigned weswigham and unassigned weswigham Apr 30, 2019
@sandersn sandersn added the For Milestone Bug PRs that fix a bug with a specific milestone label Feb 1, 2020
@sandersn sandersn added For Backlog Bug PRs that fix a backlog bug and removed For Milestone Bug PRs that fix a bug with a specific milestone labels Feb 5, 2020
@sandersn
Copy link
Member

sandersn commented Mar 5, 2020

This PR hasn't seen any activity for quite a while, so I'm going to close it to keep the number of open PRs manageable. Feel free to open a fresh PR or restart the discussion here.

@sandersn sandersn closed this Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Backlog Bug PRs that fix a backlog bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

comments before imports are stripped in AMD output unless there's a blank line after them
4 participants