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

Support floor division assignment (//=) #293

Merged
merged 2 commits into from
Dec 1, 2023

Conversation

chriscerie
Copy link
Contributor

Closes #292.

@@ -2260,6 +2260,7 @@ make_op_parser!(CompoundOp, ParseCompoundOp,
MinusEqual,
StarEqual,
SlashEqual,
DoubleSlashEqual,
Copy link
Owner

Choose a reason for hiding this comment

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

Standard is TwoSlashEqual

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It’d be ideal if it’s consistent with its counterpart DoubleSlash. Should that be changed to TwoSlash then?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah i made a mistake when naming double slash originally. That's annoying...

Yeah I think it's better to stay related to DoubleSlash. Renaming to TwoSlash is a breaking change

Copy link
Owner

Choose a reason for hiding this comment

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

Fair enough then don't change anything but we should deprecate both at some point

Copy link
Contributor

@jeparlefrancais jeparlefrancais left a comment

Choose a reason for hiding this comment

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

Thank you for jumping on this 🥇

@Kampfkarren Kampfkarren merged commit a289a77 into Kampfkarren:main Dec 1, 2023
2 checks passed
@chriscerie chriscerie deleted the floor-assign branch December 1, 2023 02:55
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.

Missing floor division compound operator //=
4 participants