Repository navigation
repl: recognize regex literals and comments in continuation detection #37327
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
32
commits into
main
Choose a base branch
from
farm/10b8d6c1/repl-regex-literals
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.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
8bd0c41
repl: recognize regex literals and comments in continuation detection
robobun 7c6ebe5
repl: do not let a trailing escape carry a regex scan past the newline
robobun 6e4c4a6
repl: tighten regex scan comment
robobun 9a67d3a
repl: refine regex-vs-division heuristic for conditionals, properties…
robobun cf1ddd5
repl: condense scanner comments to single lines
robobun 0064fa8
[autofix.ci] apply automated fixes
autofix-ci[bot] ef1f3ae
repl: treat postfix inc/dec and object literals in groups as division…
robobun 072a487
repl: treat JSX closing tags, non-null assertions, and nested object …
robobun a6316d1
repl: classify braces as blocks or object literals for division context
robobun c926c3e
repl: condense brace classification comment
robobun b2da29e
[autofix.ci] apply automated fixes
autofix-ci[bot] 256107a
repl: handle chained non-null assertions before division
robobun 7123713
repl: a block closing inside parens or brackets stays in expression c…
robobun f8eb6c8
repl: treat private identifiers as member access in division context
robobun 12ed2f5
repl: a > closing a JSX tag ends an expression
robobun 166b697
ci: retrigger
robobun c1181e4
repl: handle object literal non-null assertions, spread objects, and …
robobun d913a8c
repl: allow same-line whitespace before postfix bang and JSX tag-end
robobun b77a864
repl: keyword-named members before a bang, string closers, and compou…
robobun 573013e
repl: condense guard comments
robobun c550e55
Merge branch 'main' into farm/10b8d6c1/repl-regex-literals
alii bfdcb01
repl: nested generic closers and as/satisfies type positions are divi…
robobun f1dacfe
repl: use a banner-proof needle in the nested generic test
robobun dcc61e2
repl: multi-argument generic closers are division context
robobun 202d8af
repl: condense generic closer comment
robobun adf53a8
repl: void after as or satisfies is a type, not the void operator
robobun 3a95083
repl: generic closers with inner type arguments are division context
robobun dbac44f
repl: carry type position across unions and into non-null assertions
robobun c4b94fc
repl: intersection types in generic arguments are division context
robobun 707e561
Merge remote-tracking branch 'origin/main' into farm/10b8d6c1/repl-re…
robobun fb553e4
repl: test comment and regex shapes fed by a pipe and typed on a term…
robobun 19c1072
repl: use is_word_byte in the continuation scan so non-ASCII identifi…
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
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.