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

Change syntax for set membership predicate ('in' -> 'contains') #297

Merged
merged 3 commits into from
Jul 28, 2022

Conversation

AltGr
Copy link
Contributor

@AltGr AltGr commented Jul 27, 2022

Also includes a small CLI patch

@AltGr
Copy link
Contributor Author

AltGr commented Jul 27, 2022

I am surprised that only 1 test and no examples are affected by the change 🤨

@AltGr AltGr mentioned this pull request Jul 27, 2022
Before: `ELEMENT in SET`; now: `SET contains ELEMENT`

Using the `in` keyword was causing conflicts and blocking CatalaLang#203.
Current proposal has `contient` for the French syntax, and is untranslated (`contains`) for Polish.
@AltGr
Copy link
Contributor Author

AltGr commented Jul 27, 2022

Update: replaced "comprend" by "contient" for the french version, and got a ✔️ from the legal team

Copy link
Contributor

@denismerigoux denismerigoux left a comment

Choose a reason for hiding this comment

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

All good, thanks ! Except the Polish translation, we should keep this frontend updated while we can.

compiler/surface/lexer_pl.cppo.ml Outdated Show resolved Hide resolved
@denismerigoux denismerigoux merged commit c9e985b into CatalaLang:master Jul 28, 2022
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.

2 participants