-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Add a path to Module (and expose it in Referrer) #3783
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3783 +/- ##
==========================================
+ Coverage 47.24% 50.20% +2.96%
==========================================
Files 476 456 -20
Lines 46892 44800 -2092
==========================================
+ Hits 22154 22493 +339
+ Misses 24738 22307 -2431 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect to me! Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
* Add an integration test for relative imports on SimpleModuleLoader * Add a path to Module (and expose it in Referrer) This allows SimpleModuleLoader to resolve relative to the current file (which this commit also does). Fixes #3782 * cargo clippy and fmt * prettier
Probably needs a rebase, since this PR doesn't have the changes of #3772. |
This allows SimpleModuleLoader to resolve relative to the current file (which this commit also does). Fixes boa-dev#3782
@jedel1043 done. |
Forgot to check the tests, and I think this regressed some of them. Will have to investigate what's the problem, but I'm pretty sure it's the additional check added to the default loader. I don't think this needs a rollback, since it should be a fairly easy fix. Test262 conformance changes
Broken tests (174):
|
I can look into it. |
This allows
SimpleModuleLoader
(and other loaders) to resolve relative to the current file (which this commit also does).Fixes #3782
Closes #3781