Skip to content

Commit 4385631

Browse files
authored
feat: support SUPER keyword (#1445)
Adds support for the SUPER keyword and usage. Rather than adding a pointer to each derived POU, SUPER is only represented in the AST - references to it use the already existing __<parent> member variable, either directly (when SUPER^ is dereferenced) or its address via REF(__<parent>) (when it is not). This lowering is done in its own submodule in the Inheritance-lowerer before lowering the inheritance chains.
1 parent 80a06be commit 4385631

36 files changed

+8734
-2428
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)