Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: provide full import statement range #533

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

nayeemrmn
Copy link
Collaborator

Renames Import::range to Import::specifier_range, adds Import::full_range.

Towards denoland/deno#18884.

@nayeemrmn
Copy link
Collaborator Author

Don't know what caused this:
image

@nayeemrmn nayeemrmn requested a review from dsherret September 26, 2024 03:55
@dsherret
Copy link
Member

Bug fix: denoland/deno#25860

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

@dsherret dsherret merged commit 1eecf0d into denoland:main Sep 26, 2024
16 checks passed
@nayeemrmn nayeemrmn deleted the import-full-range branch September 26, 2024 15:34
@@ -172,6 +174,7 @@ pub struct DynamicDependencyDescriptor {
pub argument: DynamicArgument,
/// The range of the argument.
pub argument_range: PositionRange,
pub range: PositionRange,
Copy link
Member

@dsherret dsherret Oct 8, 2024

Choose a reason for hiding this comment

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

I just realized this breaks the deserialization of information we store on JSR. We'll need to think of a solution for this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants