-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
Milestone
Description
The following code is legal LF
reactor Foo(bar:int=2) {
input bar:int
state bar: int
method bar(): int {==}
reaction bar(bar)
}
but it causes compile errors in the C++ target and likely also other targets. The problem is, that we don't enforce uniqueness of names in the reactor scope. Currently, there is only a Xtext generated mechanism that detects if triggers have the same name, but it does not handle other reactor elements.
Reactions are currently unavailable