Skip to content

Propagated types are incorrect for non-local branches #2810

@kasperl

Description

@kasperl

The type propagator does not correctly merge local types in the presence of non-local branches (break or continue out of blocks). Any changes to local types at the branch point are forgotten instead of being merged to the statically-known branch target

This is the reason we currently skip tests/finally-params-test.toit when testing the type propagator.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions