teal-language / vscode-teal

Teal language support for Visual Studio Code
MIT License
76 stars 11 forks source link

I'm getting strange windows MessageBox popups on errors #58

Closed morew4rd closed 1 year ago

morew4rd commented 1 year ago
image

Not sure if anyone else hit this, is there a workaround?

Also devs: would it be possible to remove messagebox as an error? It doesn't help anything IMO.

pdesaulniers commented 1 year ago

Hello! The popup is showing a compiler error. According to this issue, it should have been fixed in tl v0.14.0: https://github.com/teal-language/tl/issues/526

Are you using the most recent version of the Teal compiler (v0.15.2)? If not, can you please update the compiler and check if you can still reproduce the issue?

Also devs: would it be possible to remove messagebox as an error? It doesn't help anything IMO.

I could be wrong, but I believe this messagebox might be generated by the compiler itself and not vscode-teal (at least, I have never seen a similar window on Linux :))

Does the same window appear if you run tl check <your file.tl> on the command line?

morew4rd commented 1 year ago

Hi and thank you for the information. Yes, that looks like to be the same as my issue. Strange that it's (was) in the compiler. I very likely have a version prior to 0.14 installed.

I'll close this one, And will report back/reopen it if I see the issue after upgrading and identify the cause with the extension.

Thanks!