Skip to content

feat: Interface Upcasting#1629

Draft
volsa wants to merge 2 commits intomasterfrom
vosa/polymorphism-interface-upcast
Draft

feat: Interface Upcasting#1629
volsa wants to merge 2 commits intomasterfrom
vosa/polymorphism-interface-upcast

Conversation

@volsa
Copy link
Member

@volsa volsa commented Mar 9, 2026

Allow for upcasting between interfaces, e.g.

VAR
  refA: IA; // defined as `INTERFACE IA`
  refB: IB; // defined as `INTERFACE IB EXTENDS IA`
END_VAR

refA := refB;

@volsa volsa marked this pull request as ready for review March 11, 2026 16:17
@volsa volsa marked this pull request as draft March 11, 2026 16:17
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