-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
Build error with 8.0.2-rc1 #123
Comments
On Sat, Nov 26, 2016 at 7:33 PM, Tuncer Ayaz ***@***.***> wrote:
Trying to build xmonad-contrib be036f9
<be036f9>
with ghc 8.0.1.20161126:
You might want to hold off on rc1. They ran it against Stackage and found a
bunch of regressions like this that they are fixing for rc2.
…--
brandon s allbery kf8nh sine nomine associates
allbery.b@gmail.com ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
|
Glad to hear that. I haven't seen the bulk build report, so didn't know that it's a regression. Do you have links to tickets/reports? |
This was chatter in (That looks like the only ticket currently open against the rc, aside from a Cabal update request. (phab's not logging |
The problematic module uses
which needs to instantiate
should avoid the need for |
Ok, that's fixable. (I didn't think we had any |
Closing since there's a fix: #124. |
XMonad/Layout/Groups/Helpers.hs: drop broken ImpredicativeTypes extension (fixes #123)
…sion (fixes xmonad#123) ImpredicativeTypes is practically unsupported extension on it's way to be removed from GHC: https://mail.haskell.org/pipermail/ghc-devs/2016-September/012826.html GHC-8.0.2-rc1 already fails to build xmonad-contrib as: XMonad/Layout/Groups/Helpers.hs:181:22: error: • Couldn't match type ‘G.WithID l0 Window -> XMonad.Util.Stack.Zipper (G.Group l0 Window) -> XMonad.Util.Stack.Zipper (G.Group l0 Window)’ with ‘G.ModifySpec’ Expected type: (G.WithID l0 Window -> XMonad.Util.Stack.Zipper (G.Group l0 Window) -> XMonad.Util.Stack.Zipper (G.Group l0 Window)) -> G.GroupsMessage Actual type: G.ModifySpec -> G.GroupsMessage • In the second argument of ‘(.)’, namely ‘G.Modify’ In the expression: sendMessage . G.Modify In an equation for ‘wrap’: wrap = sendMessage . G.Modify The workaround is simple: add explicit types to applications or open-code direct application (this change). Bug: xmonad#123 Signed-off-by: Sergei Trofimovich <siarheit@google.com>
…sion (fixes xmonad#123) ImpredicativeTypes is practically unsupported extension on it's way to be removed from GHC: https://mail.haskell.org/pipermail/ghc-devs/2016-September/012826.html GHC-8.0.2-rc1 already fails to build xmonad-contrib as: XMonad/Layout/Groups/Helpers.hs:181:22: error: • Couldn't match type ‘G.WithID l0 Window -> XMonad.Util.Stack.Zipper (G.Group l0 Window) -> XMonad.Util.Stack.Zipper (G.Group l0 Window)’ with ‘G.ModifySpec’ Expected type: (G.WithID l0 Window -> XMonad.Util.Stack.Zipper (G.Group l0 Window) -> XMonad.Util.Stack.Zipper (G.Group l0 Window)) -> G.GroupsMessage Actual type: G.ModifySpec -> G.GroupsMessage • In the second argument of ‘(.)’, namely ‘G.Modify’ In the expression: sendMessage . G.Modify In an equation for ‘wrap’: wrap = sendMessage . G.Modify The workaround is simple: add explicit types to applications or open-code direct application (this change). Bug: xmonad#123 Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Trying to build xmonad-contrib be036f9 with ghc 8.0.1.20161126:
Builds fine with 8.0.1.
The text was updated successfully, but these errors were encountered: