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

Fix bad return type for Square() template #1534

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

slipher
Copy link
Member

@slipher slipher commented Jan 29, 2025

It didn't take into account promotion to integer for types smaller than int.

Fixes #1533.

It didn't take into account promotion to integer for types smaller than
int.

Fixes DaemonEngine#1533.
Copy link
Contributor

@VReaperV VReaperV left a comment

Choose a reason for hiding this comment

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

This fixes the issue on myend/haven't found any other regressions. LGTM.

@illwieckz
Copy link
Member

I'm in favor of merging this kind of fixup as soon as possible, to prevent future bisect runs to be polluted by this bug. We better keep such fixup as close as possible to the commit introducing the bug. The alternative would be to delay other merges to prevent them to slip in between (but we don't do that, and we better not do that).

So @slipher you can merge this as soon as possible, no need to wait for one day.

Copy link
Member

@illwieckz illwieckz left a comment

Choose a reason for hiding this comment

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

LGTM, fixes it for me.

@slipher slipher merged commit b421448 into DaemonEngine:master Jan 29, 2025
9 checks passed
@slipher slipher deleted the square branch January 29, 2025 14:47
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.

Square function change severely breaks the game
3 participants