Skip to content

support nested abstract clafers #23

Description

@mantkiew
abstract Component
    abstract Port

now, Port can be extended as:

Example 1:

WinController : Component
    cmd : Port
    abstract ExceptionPort : Port

NOTE: the compiler also allows declaring ExceptionPort at the top-level but only for abstract clafers like this

WinController : Component
    powerOut : ExceptionPort

abstract ExceptionPort : Port

however, in the IR, ExceptionPort is physically moved as a sibling of Port as in the Example 1.

Relevant test cases are:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions