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

🪲 Add curly braces around add ... to command #5625

Merged
merged 7 commits into from
Jun 25, 2024
Merged

🪲 Add curly braces around add ... to command #5625

merged 7 commits into from
Jun 25, 2024

Conversation

jpelay
Copy link
Member

@jpelay jpelay commented Jun 21, 2024

If you used the add command in one of the adventures, when adding the curly braces it was translated as {add} el {toList} l which caused the problem of the adventure not being shown correctly since toList is not the name of the keyword on our translation dictionaries. I changed the name of the keyword in the grammars.

How to test

I added a test for this scenario.

Copy link
Collaborator

@boryanagoncharenko boryanagoncharenko left a comment

Choose a reason for hiding this comment

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

Works great! But I have to admit I had to reverse-engineer how the problem manifested.

Copy link
Contributor

mergify bot commented Jun 25, 2024

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 1fb6676 into main Jun 25, 2024
12 checks passed
@mergify mergify bot deleted the fix_to_list branch June 25, 2024 11:35
Copy link
Contributor

mergify bot commented Jun 25, 2024

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

@jpelay
Copy link
Member Author

jpelay commented Jun 25, 2024

Works great! But I have to admit I had to reverse-engineer how the problem manifested.

Sorry for not being clear enough in the PR. In fairness I only realized because I used the script to fix the teacher manual in #5167 and a particular program failed to be properly formatted in every language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants