Skip to content

Refering instantiated reactors from the inherited reactor. #527

Description

@Jakio815

When the upper reactor (Parent) instantiates an reactor, it is not accessible from the extended reactor.

In the example below, the parent_sub reactor is not accessible from the extended reactor Child.

target C

reactor sub {
  input sub_in : int
}

reactor Parent {
  parent_sub = new sub()
}

reactor Child extends Parent {
  input child_input: int
  child_sub = new sub()

  child_input ->parent_sub.sub_in // Doesn't work.
  child_input-> child_sub.sub_in
}

Is this a bug or intended behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions