chapel-lang / chapel

a Productive Parallel Programming Language
https://chapel-lang.org
Other
1.8k stars 421 forks source link

[Feature Request]: show unstable warnings in CLS #24986

Open jabraham17 opened 6 months ago

jabraham17 commented 6 months ago

Summary of Feature

Description:

chpl-language-server should be able to show unstable warnings in the editor, just like other errors and warnings. This should be an off-by-default feature, controlled with a flag to CLS (--warn-unstable).

Ultimately, I think CLS should support more general compiler/warning flags to turn on other Chapel warnings. But this requires more warnings to be moved into Dyno.

DanilaFe commented 6 months ago

This seems easy enough. However, noting that some unstable warnings are issued from the production compiler after Dyno cedes control. Thus, we can't issue all unstable warnings.