-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
lib,src: refactor assert to load error source from memory #59751
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
Conversation
d5e0e9e
to
542138c
Compare
542138c
to
9a85066
Compare
The source code is available from V8 API and assert can avoid reading the source file from the filesystem and parse the file again.
Map source lines in assert messages with cached source maps.
9a85066
to
9e516a3
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #59751 +/- ##
==========================================
- Coverage 89.95% 89.92% -0.04%
==========================================
Files 667 668 +1
Lines 196776 196733 -43
Branches 38409 38391 -18
==========================================
- Hits 177006 176908 -98
- Misses 12198 12241 +43
- Partials 7572 7584 +12
🚀 New features to boost your workflow:
|
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.
Let's goo!
@BridgeAR CI is green now. I noticed that you requested a review from yourself. Would you mind taking a look? Thank you! |
Landed in a2a77b2...f1b56d6 |
The source code is available from V8 API and assert can avoid reading the source file from the filesystem and parse the file again. PR-URL: #59751 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Map source lines in assert messages with cached source maps. PR-URL: #59751 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
lib,src: refactor assert to load error source from memory
The source code is available from V8 API and
assert
can avoid readingthe source file from the filesystem and parse the file again.
lib: add source map support for assert messages
Map source lines in assert messages with cached source maps.
Fixes #59612