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?
When the upper reactor (
Parent) instantiates an reactor, it is not accessible from theextended reactor.In the example below, the
parent_subreactor is not accessible from theextended reactorChild.Is this a bug or intended behavior?