lf-lang / vscode-lingua-franca

Lingua Franca extension for Visual Studio Code
Other
4 stars 3 forks source link

Rendering cannot be drawn! Type: KPolylineImpl ID: undefined #126

Closed petervdonovan closed 11 months ago

petervdonovan commented 1 year ago

image

Seen in VS Code after opening Python/src/ModalActions.lf.

soerendomroes commented 1 year ago

I cannot reproduce this with the released LF extension since TraceTesting, which is required for ModalActions, has errors.

image

lhstrh commented 1 year ago

This error relates to what is in main. We want to fix this before doing a new release...

petervdonovan commented 1 year ago

I am confused... There is nothing to fix because main is correct, right? The problem is merely that we haven't released the updated LF extension yet (to match the changes made to the syntax).

lhstrh commented 1 year ago

Now I'm confused. How was this observation made? In the latest release, or in main? I assumed the latter because the former has been out for months.

soerendomroes commented 1 year ago

It would be nice to include this type of information in the issue together with steps to reproduce.

Does the error still occur after a reload or is it a general problem of the model?

petervdonovan commented 1 year ago

It would be nice to include this type of information in the issue together with steps to reproduce.

Yes, I'll try to remember that next time.

Does the error still occur after a reload or is it a general problem of the model?

Just now I re-opened Python/src/ModalActions.lf and the diagram opened correctly (I failed to reproduce the bug that I reported).

lhstrh commented 1 year ago

Sorry for the noise, @soerendomroes :smile: