-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove compiler warnings #7652
Remove compiler warnings #7652
Conversation
Why, what was the conclusion? Can't it be available behind a feature flag? |
@j8r While discussing the existing implementation we decided that we want to make it better and work on a different solution as a compiler tool. But we don't want to delay 0.28.0 to wait for this replacement. |
I guess having proper RFCs would help communication, and understand the design decisions... The community won't know what happens in a black box channel. |
…l-lang#7626)" This reverts commit 23a7cca.
…ality-check" This reverts commit 40d8b34.
It seems that bebdd56 didn't revert fully crystal-lang#2737
eb325dc
to
223d5f5
Compare
I think we should also drop the strict validation of We don't really gain anything from the strict validation, especially since it's only implemented on methods anyway. |
@straight-shoota if there are no restrictions, then is hard to give semantics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is okay to merge in any case 👍
@straight-shoota I'd wait for resolution of the issue #7655, since this approach raised a lot of valid questions, which IMO should be tackled before any merge happens. |
@straight-shoota What if we let the warnings be integrated in the compiler, but opt-in for 0.28.0? Then people can try them out and if they turn out to be very useful we can make them opt-out for 0.29.0. Or even the other way around: opt-out for 0.28.0, and if they turn out to be very annoying we can make them opt-in for 0.29.0 or even 0.28.1. I'd really like to try it opt-out first. If we don't try and experiment with new things we'll never know what's the real reaction or usefulness of this. And, as I said somewhere else, you can always pass a flag to silence the warnings. |
I was personally okay with having it as opt-in. But the consensus was to drop this compiler feature for 0.28.0 entirely. I'd strongly recommend we stick to this decision instead of burning our fuel on discussions about whether we should diverge. Let's focus our attention on releasing 0.28.0 and designing the deprecation warnings feature in #7655. Shipping this as an opt-out feature as currently in master is a no-go from @RX14 and me. Reports for every invocation has the potential of spamming the console output with pages of deprecation messages. We should be really sure about how it behaves on a larger scale before shipping such an annoying release. |
@straight-shoota No, that was what you and @RX14 wanted, but me, @bcardiff and @ysbaddaden want it as opt-out. That's not consensus. |
I think including it as opt-in is a good compromise between complete removal and enabling it by default with opt-out. |
I have no insight into your decision process guys, but I definitely agree with @asterite on that, only if everyone are on board with the decisions at hand you can call it a consensus, not before. |
Well, not not everyone was present in the discussion. It was an adhoc meeting and it became apparent that we needed a decision on what to do about the upcoming release. After an intensive discussion of 2 hours or so we agreed on the course of action. Which was then presented in this PR and the dicsussion about the content continued in #7655. And I think the result should be okay for everyone - and so is probably #7661. Neither is preferred by everyone, but both should be acceptable. |
There was a core team discussing where the consensus was to
@[Deprecated]
This PR reverts #7626 and #7596, but keeps the compiler fixes found along the way.
It closes #7650 since that is embedded in the current implementation.
The deprecation check tool will probably come after 0.28