Skip to content

transpile: Refactor binary operand handling and handle pointers/complex numbers - #1835

Open
Rua wants to merge 3 commits into
immunant:masterfrom
Rua:expected_operand_types
Open

transpile: Refactor binary operand handling and handle pointers/complex numbers#1835
Rua wants to merge 3 commits into
immunant:masterfrom
Rua:expected_operand_types

Conversation

@Rua

@Rua Rua commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Both a refactor and a functional improvement. Complex numbers aren't supported yet, so I haven't included any tests for that, but this is needed to support them later.

@Rua
Rua force-pushed the expected_operand_types branch 3 times, most recently from b78f827 to d93cde7 Compare June 2, 2026 13:59
@Rua
Rua force-pushed the expected_operand_types branch 3 times, most recently from 854e317 to 7efb825 Compare June 13, 2026 15:43
@Rua Rua changed the title transpile: Split off CBinOp::expected_operand_types and handle pointers/complex numbers transpile: Refactor binary operand handling and handle pointers/complex numbers Jun 13, 2026
@Rua
Rua force-pushed the expected_operand_types branch 5 times, most recently from e62b79c to 85e05aa Compare June 19, 2026 10:32
@Rua
Rua force-pushed the expected_operand_types branch 3 times, most recently from d79be12 to fa2af73 Compare July 7, 2026 10:21

@ahomescu ahomescu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you add a test or two for this (unit and/or snapshot)?

@Rua

Rua commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

Not really sure what to test for, that isn't already tested?

@Rua
Rua force-pushed the expected_operand_types branch 3 times, most recently from a7f8253 to 46b0ce9 Compare July 26, 2026 09:37
@Rua
Rua force-pushed the expected_operand_types branch from 46b0ce9 to 31c8fbb Compare July 26, 2026 10:18
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