Skip to content

[compiler][repro] Test fixture for fbt plural bug #30432

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
Jul 29, 2024

Conversation

mofeiZ
Copy link
Contributor

@mofeiZ mofeiZ commented Jul 23, 2024

mofeiZ added a commit that referenced this pull request Jul 23, 2024
ghstack-source-id: d0c6a4e
Pull Request resolved: #30432
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Jul 23, 2024
Copy link

vercel bot commented Jul 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2024 9:40pm

mofeiZ added a commit that referenced this pull request Jul 23, 2024
ghstack-source-id: b682fe4
Pull Request resolved: #30432
Comment on lines +83 to +88
{
"*": {
"*": "{number of rewrites} rewrites to Rust · {number of months} months traveling",
},
_1: { _1: "1 rewrite to Rust · 1 month traveling" },
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For reference, the correct transpilation would be

{
  "*": {
    "*": "{number of rewrites} rewrites to Rust · {number of months} months traveling",
    _1: "{number of rewrites} rewrites to Rust · 1 month traveling",
  },
  _1: {
    "*": "1 rewrite to Rust · {number of months} months traveling",
    _1: "1 rewrite to Rust · 1 month traveling",
  },
},

(╯°□°)╯︵ ┻━┻


[ghstack-poisoned]
(╯°□°)╯︵ ┻━┻


[ghstack-poisoned]
(╯°□°)╯︵ ┻━┻


[ghstack-poisoned]
@mofeiZ mofeiZ merged commit 6467784 into gh/mofeiZ/14/base Jul 29, 2024
19 checks passed
mofeiZ added a commit that referenced this pull request Jul 29, 2024
ghstack-source-id: 222e731
Pull Request resolved: #30432
@mofeiZ mofeiZ deleted the gh/mofeiZ/14/head branch July 29, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants