-
Notifications
You must be signed in to change notification settings - Fork 74
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
Prepare 0.22.9 release #449
Conversation
1f4a73a
to
cc6ec65
Compare
Somehow |
Yes, that's expected. The |
bdac283
to
531c3b0
Compare
This MR now includes the fix for the testsuite to pass. See #448 (comment) |
It's still not clear to me why this failure does not show up on CI. Is this maybe depending on the value of TERM or something? On the one hand, this would make sense, on the other hand you shouldn't look at TERM at all if the output is not going to a terminal. |
The reason why
Redirection of A proper solution would be to do something along the lines of: https://github.com/hspec/sensei/blob/5c11026fa48e13ea1c351ab882765eb0966f2e97/src/Language/Haskell/GhciWrapper.hs#L63-L71 But things are actually even more complicated than that (not elaborating on it now, but if you want to work on it then please ask and I'll give the full story). That's why we are going with #448 for now. |
src/GhcUtil.hs
Outdated
-- failures like this: | ||
-- expected: "Foo.hs:6:1: error: [GHC-58481]\n parse error..." | ||
-- but got: "Foo.hs:6:1: error: [\ESC]8;;https://errors.haskell.org/messages/GHC-58481\ESC\\GHC-58481\ESC]8;;\ESC\\]\n parse error..." | ||
let dynflags = dynflags' { useErrorLinks = Never } |
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.
@hsyl20 we need to differentiate between:
- Extracting comments with the GHCAPI.
- Evaluating expressions with GHCi.
For (1) we want the exact same error behavior as GHC, including colors and hyperlinks.
For (2) we don't want colors and hyperlinks.
This code is concerned with (1), so we actually don't want this changes.
For the related test failure, this is actually an order dependency somehow. If you focus the single test, then that test succeeds. You could be anywhere, including in GHC itself. I don't have the time to investigate further right now. It doesn't happen on CI, so releases are not blocked by it.
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.
Please include only the version bump in this PR. (see my other comments)
531c3b0
to
f447f74
Compare
I've removed the other commit. I won't have much time to work on this soon either. |
No description provided.