-
Notifications
You must be signed in to change notification settings - Fork 64
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
Spurious cyclic dependency detection for federate in TypeScript #1175
Comments
Also note that the diagram doesn't report a cycle, but the validator does. |
Could you please try and see if #1085 fixes this issue for you? |
That PR seems stalled and is not passing CI...so that's not really a fix... |
@Soroosh129 |
This looks like a TypeScript-specific problem. |
There are peculiarities in our code base that lead to cycle detection happening multiple times. At least once in the validator, once in the diagram synthesis, and then once more in the code generator. The message @CloverCho describes must come from the code generator... |
@CloverCho: what is the literal textual content of the error message you're seeing? |
@lhstrh This is the error I got when I execute runLfc
and
These errors occurred many times. for about diagram synthesis, I found the following error message in the vscode.
I'm attaching pictures of these errors.
|
For the following LF code, the LF language server finds cyclic dependency, so it is not compiled.
However, there is no causality loop in the code actually.
Here are some explanations for this error.
so the logic for detecting cycle among federates would have problem.
(It can be done by removing "b.out -> p.inp" at the end of the federated reactor)
Considering the fact that there is one-way connection between these two federates, it is certainly wrong.
The text was updated successfully, but these errors were encountered: