Repository navigation
console, Bun.inspect, util.inspect: print a Map or Set iterator without running it #42359
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
Open
robobun
wants to merge
21
commits into
main
Choose a base branch
from
robobun/c4e079fe/preview-entries-native
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,362
−83
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
8478aa6
util.inspect, Console#table: read Map and Set iterators from storage
robobun 204b594
Console#table: do not bound a Map or Set by its size
robobun 2c8f81e
Shorten the comments on previewEntries
robobun 29be5f2
ci: retrigger
robobun 495e5be
test: run the Console#table iterator tests concurrently
robobun efbaf29
Merge branch 'main' into robobun/c4e079fe/preview-entries-native
robobun 6531d5c
previewEntries: step a private copy of the iterator with the engine's…
robobun ce44fdd
console.log, Bun.inspect: print a Map or Set iterator without running it
robobun bd3ca42
console.table, the error printer: read a Map or Set iterator they are…
robobun 2b74f8d
test: a print does not run or use up a Map or Set iterator
robobun 5aee966
Shorten the comments on the native arm
robobun 0f971e7
Merge remote-tracking branch 'origin/main' into robobun/c4e079fe/prev…
robobun 7f3e989
Declare jsFunctionPreviewEntries in the table of built-ins
robobun a7ff980
Close a Set iterator that is printed on one line with a space
robobun 16482df
Console#table: take isMapIterator and isSetIterator from native code
robobun 6fd8950
test: run the replaced-guard case of Console#table through the shared…
robobun 304b381
previewEntries: reserve for what the iterator has left, not for the c…
robobun 15d410f
Lint: a printer walks a value through formatter::for_each_listed
robobun ec4b93a
test: more places where native code formats a Map or Set iterator
robobun 0334d09
Lint: tell JSValue::for_each from Iterator::for_each by its arguments
robobun 8548f2c
test: assert the failure text, the entry order and the iterator position
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.