Skip to content
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

skip escaped backslash in rf-string #921

Merged
merged 1 commit into from
May 17, 2023

Conversation

jakkdl
Copy link
Contributor

@jakkdl jakkdl commented May 10, 2023

Summary

Fixes #917

Test Plan

Added the failing test case from #917, as well as one for a normal raw string to make sure behavior is consistent.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 10, 2023
@Zac-HD
Copy link
Contributor

Zac-HD commented May 16, 2023

@zsol ping for review?

@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (889ce56) 94.92% compared to head (d5dc33f) 94.92%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #921   +/-   ##
=======================================
  Coverage   94.92%   94.92%           
=======================================
  Files         254      254           
  Lines       25933    25933           
=======================================
  Hits        24616    24616           
  Misses       1317     1317           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@zsol zsol left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM

@zsol zsol merged commit ea19578 into Instagram:main May 17, 2023
@jakkdl jakkdl deleted the escape_backslash_in_rf branch May 17, 2023 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Native parser crashes on rf"\\"
5 participants