Skip to content

Audit / refactor the cast code #1531

Closed

Description

@celinval

I don't think we have thoroughly tested the cast logic and we should probably revisit some assertions as well as the code structure in general. Issues I noticed while working on #1522:

Note: I renamed cast_sized_expr_to_unsized_expr to cast_expr_to_unsized_expr in #1522 to alleviate the first inconsistency, but it is still incorrect.

FYI: the issues we've seen so far trigger internal compiler errors (e.g.: #1528).

Metadata

Metadata

Assignees

Labels

[I] Refactoring / Clean Up

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions