-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Fix "undefined local variable" error in update-report #14903
Conversation
Review period skipped due to |
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.
Good catch, thanks @dduugg!
e63106f
to
396954c
Compare
I'm still seeing this in CI: https://gitlab.haskell.org/haskell/cabal/-/jobs/1398914
|
Hmm, not sure why that would be the case, perhaps there's some sort of caching happening? It looks like you might be using the latest master in CI, which I suspect is in inherently more fragile than checking out an official release: https://gitlab.haskell.org/haskell/cabal/-/blob/master/.gitlab/brew.sh#L6 You could pin that to a specific release for improved stability. You could also try to check out the latest release, something like this might do the trick:
|
|
@gMan1990 I'm sorry you're having this issue. What does |
|
Oh, this fix didn't make it into the latest release 🤦 |
Homebrew version 4.0.6 was just released, which incorporates this patch. |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?Resolves an error introduced in 2451d01#diff-05ec45190dab3db11df80b2c154648c8023837fa34917dce9d1bcde0acf9c005L282
If you have a few minutes and you're willing to untap
core
, you should be able to repro with:I've also enabled typechecking in
update-report
, which would have caught this error