Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target property not imported if we extend the reported reactor #2286

Open
erlingrj opened this issue May 17, 2024 · 0 comments
Open

Target property not imported if we extend the reported reactor #2286

erlingrj opened this issue May 17, 2024 · 0 comments
Labels
bug Something isn't working c Related to C target compiler
Milestone

Comments

@erlingrj
Copy link
Collaborator

If the imported reactor is instantiated it works as expected, but if it is extended it does not.

Example:

In ImportMe.lf

target C {
  cmake-include: "Include.cmake"
}
reactor R {
  reaction(startup) {= =}
}
target C 
import R from "./ImportMe.lf"
reactor R2 extends R { }
main reactor {
  r = new R2()
}
@erlingrj erlingrj added bug Something isn't working compiler c Related to C target labels May 17, 2024
@lhstrh lhstrh added this to the 0.8.0 milestone May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c Related to C target compiler
Projects
None yet
Development

No branches or pull requests

2 participants