Skip to content

Change completions of regex literals #7425

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

Merged
merged 5 commits into from
May 22, 2025
Merged

Change completions of regex literals #7425

merged 5 commits into from
May 22, 2025

Conversation

zth
Copy link
Collaborator

@zth zth commented May 5, 2025

Closes #7159

Might want to think another round on whether this is the right fix. Maybe we should point out Stdlib_RegExp explicitly instead of the shorthand.

EDIT: Ended up finding a better way to do this. Now ready for review.

@zth zth requested a review from cknitt May 5, 2025 09:08
@zth zth marked this pull request as draft May 5, 2025 09:09
Copy link

pkg-pr-new bot commented May 5, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7425

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7425

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7425

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7425

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7425

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7425

commit: 1df2756

@zth zth marked this pull request as ready for review May 5, 2025 14:52
@zth
Copy link
Collaborator Author

zth commented May 6, 2025

Will look into CI.

@zth zth force-pushed the regex-literals-completion branch from 3f96e55 to 7acfe54 Compare May 21, 2025 15:55
@zth
Copy link
Collaborator Author

zth commented May 21, 2025

@cknitt now ready to have a look at.

@zth zth force-pushed the regex-literals-completion branch from 90048aa to 1df2756 Compare May 21, 2025 16:50
@zth zth enabled auto-merge (squash) May 21, 2025 16:50
@zth zth disabled auto-merge May 21, 2025 16:50
Copy link
Member

@cknitt cknitt left a comment

Choose a reason for hiding this comment

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

Nice one! 🎉

@zth zth merged commit a086887 into master May 22, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Completions for regexp pattern draws from the wrong module
2 participants