-
Notifications
You must be signed in to change notification settings - Fork 95
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
Future proofing: Name mismatch in signature and definition. #467
Comments
Is that here?
|
Looks like it. |
I could make it build but I'm not sure if this is a proper fix: --- src/Language/Haskell/Exts/InternalParser.ly.orig 2020-06-02 02:35:42.000000000 +0000
+++ src/Language/Haskell/Exts/InternalParser.ly
@@ -2216,13 +2216,13 @@ Miscellaneous (mostly renamings)
| 'family' { family_name (nIS $1) }
> qtyvarop_(ostar) :: { QName L }
-> qtyvarop_ : '`' tyvar '`' { UnQual ($1 <^^> $3 <** [$1, srcInfoSpan (ann $2), $3]) $2 }
+> : '`' tyvar '`' { UnQual ($1 <^^> $3 <** [$1, srcInfoSpan (ann $2), $3]) $2 }
> | tyvarsym_(ostar) { UnQual (ann $1) $1 }
> tyvarsym_(ostar) :: { Name L }
-> tyvarsym : VARSYM { let Loc l (VarSym x) = $1 in Symbol (nIS l) x }
+> : VARSYM { let Loc l (VarSym x) = $1 in Symbol (nIS l) x }
> | '-' { Symbol (nIS $1) "-" }
> | ostar { Symbol (nIS $1) "*" }
> impdeclsblock :: { ([ImportDecl L],[S],L) }
> : '{' optsemis impdecls optsemis '}' { let (ids, ss) = $3 in (ids, $1 : reverse $2 ++ ss ++ reverse $4 ++ [$5], $1 <^^> $5) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Incoming issue with latest version of happy
https://gitlab.horizon-haskell.net/package-sets/horizon-core/-/jobs/204608
The text was updated successfully, but these errors were encountered: