Skip to content

Conversation

@jakebailey
Copy link
Member

Copilot caught this when comparing the code I wrote for Strada.

comparing .flags here seems wrong; we already know the flags are equal by this point. .indexFlags seems like what it was meant to be.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a logic bug in the CompareTypes function where index types were incorrectly compared using the general .flags field instead of the index-specific .indexFlags field.

Changes:

  • Corrected the comparison of IndexType objects to use .indexFlags instead of .flags

@jakebailey jakebailey added this pull request to the merge queue Feb 4, 2026
Merged via the queue into main with commit e822994 Feb 4, 2026
56 of 60 checks passed
@jakebailey jakebailey deleted the jabaile/fix-typeflag-sorting branch February 4, 2026 04:53
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.

3 participants