Skip to content

Conversation

@robert3005
Copy link
Contributor

@robert3005 robert3005 commented Jan 20, 2026

fix #6065

Signed-off-by: Robert Kruszewski github@robertk.io

Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005 robert3005 added the fix label Jan 20, 2026
@robert3005 robert3005 enabled auto-merge (squash) January 20, 2026 16:58
@robert3005 robert3005 requested a review from gatesn January 20, 2026 17:01
Copy link
Contributor

@gatesn gatesn left a comment

Choose a reason for hiding this comment

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

Seems like a weird place to live? Should optimizer.rs just replace length 0 arrays with Canonical::empty?

@robert3005 robert3005 merged commit 004179f into develop Jan 20, 2026
46 of 48 checks passed
@robert3005 robert3005 deleted the rk/handleemptyconstants branch January 20, 2026 17:05
@robert3005
Copy link
Contributor Author

I am not sure if blanket replacement is good. There's probably a different short cirtcuit you can perform depending on the rule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants