Skip to content

refactor GateType#1416

Merged
shtukas merged 1 commit intomainfrom
ph-20250823-0001-prelude
Aug 26, 2025
Merged

refactor GateType#1416
shtukas merged 1 commit intomainfrom
ph-20250823-0001-prelude

Conversation

@shtukas
Copy link
Contributor

@shtukas shtukas commented Aug 26, 2025

Here we move the GateType from an enum to a different, isomorphic, type of enum.

This is a bit sad, because I really like the purity of GateType as it was defined, but the linter keeps confusing itself about whether GateType is a type or something else and make the developer experience awful. This solves it.

This is another preliminary PR for #1414

@shtukas shtukas requested a review from a team as a code owner August 26, 2025 13:25
@shtukas shtukas force-pushed the ph-20250823-0001-prelude branch from 088bfe1 to 77080e0 Compare August 26, 2025 13:28
@shtukas shtukas force-pushed the ph-20250823-0001-prelude branch from 77080e0 to cbcfe9a Compare August 26, 2025 13:30
@shtukas shtukas enabled auto-merge August 26, 2025 13:34
Copy link
Member

@tomrf1 tomrf1 left a comment

Choose a reason for hiding this comment

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

👍 union of strings is fine and consistent with the rest of the codebase

@shtukas shtukas merged commit 51ab91a into main Aug 26, 2025
5 checks passed
@shtukas shtukas deleted the ph-20250823-0001-prelude branch August 26, 2025 13:38
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