Open Chriscbr opened 1 year ago
We will probably want warnings in the future, for example to tell users that they have an unused variable
Nice! P2 though 😄
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
From sync discussion on compiler warnings:
Warnings are basically considered "non-fatal errors". By default, warnings cause compilation to fail (non-0 exit code), however, the compiler may still emit (and e.g. run tests) if no errors are present. Even though this fails compilation, The language server should make sure to still treat these as warnings (e.g. yellow text).
A CLI option should be provided to ignore/silence warnings.
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
_Originally posted by @yoav-steinberg in https://github.com/winglang/wing/pull/1397#discussion_r1098328639_