-
Notifications
You must be signed in to change notification settings - Fork 698
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
Add “Add default-language” suggestion #9766
Conversation
36914e1
to
254c675
Compare
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.
Manual QA passes here.
254c675
to
15443a0
Compare
15443a0
to
523bc08
Compare
Thanks for tackling this @ffaf1! I think we should make Hackage reject packages with no |
523bc08
to
fc8a336
Compare
Sure @adamgundry, the warning is now hard ("Hackage would reject this package"). |
fc8a336
to
199d290
Compare
As a warning (“Hackage would reject this package”), to prepare users to GHC language editions.
199d290
to
f9d2af4
Compare
Confirmed working on Windows in today's |
@Mergifyio backport 3.12 |
✅ Backports have been created
|
Add “Add default-language” suggestion (backport #9766)
Just a reminder that adding new constructors such as |
Rushing 3.12.0.0 out before we were really ready is looking more and more like Bad Plan…. |
Well, |
I don't follow. Cabal 3.12.0.0 did not have this issue and I don't see how we were not ready. @geekosaur: would you like to explain the link in #10160? |
Closes #9620
Add a warning ("Hackage would refuse this package") when
default-language
is missing. Done to prepare the user to GHC language editions.Include the following checklist in your PR:
** QA notes **
cabal init
a package, choosecabal-version
3.4cabal check
default-language
default-language