Skip to content

Match statements error on floats - #13399

Open
R-Cramer4 wants to merge 1 commit into
slint-ui:masterfrom
R-Cramer4:match-float-error
Open

R-Cramer4 wants to merge 1 commit into
slint-ui:masterfrom
R-Cramer4:match-float-error

Conversation

@R-Cramer4

@R-Cramer4 R-Cramer4 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Right now this PR disallows matching on floats. Other types also are represented as floats and we need to decide about allowing matching on them. This PR is for #1307

Current State

Allowed

  • Percent
  • PhysicalLength
  • LogicalLength
  • Rem
  • Duration
  • Angle

Disallowed

  • Float32

@R-Cramer4
R-Cramer4 marked this pull request as ready for review September 21, 2026 14:23
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.

1 participant