Skip to content

Add support for GHC 8.10.1 #312

Closed
lukel97 wants to merge 6 commits intolspitzner:masterfrom
lukel97:ghc-8.10.1
Closed

Add support for GHC 8.10.1 #312
lukel97 wants to merge 6 commits intolspitzner:masterfrom
lukel97:ghc-8.10.1

Conversation

@lukel97
Copy link
Copy Markdown
Contributor

@lukel97 lukel97 commented Aug 6, 2020

Continuing the work of @jneira in #305 , rebased

@jneira jneira mentioned this pull request Aug 6, 2020
@codygman
Copy link
Copy Markdown

Related to #269

@arybczak arybczak mentioned this pull request Oct 29, 2020
@vaclavsvejcar vaclavsvejcar mentioned this pull request Nov 11, 2020
@tfausak
Copy link
Copy Markdown
Collaborator

tfausak commented Nov 15, 2020

@tfausak tfausak mentioned this pull request Nov 15, 2020
@jneira
Copy link
Copy Markdown
Contributor

jneira commented Nov 16, 2020

@tfausak maybe i am not interpreting those builds correctly but they seem fail for ghc-8.10.2 and no for other versions??

EDIT: oh, i've just see you dropped support for those versions in the pr

@jneira
Copy link
Copy Markdown
Contributor

jneira commented Nov 16, 2020

Afaics all changes in this pr was made under cpp conditions so it should not interfere with older ghc versions (module some error)

@tfausak
Copy link
Copy Markdown
Collaborator

tfausak commented Nov 16, 2020

I think some of the CPP changes looked like this:

# if MIN_VERSION_ghc(8, 10, 1)
-- nothing
# else
some existing code
# endif

HsStatic{} -> do
-- TODO
briDocByExactInlineOnly "HsStatic{}" lexpr
#if MIN_VERSION_ghc(8,10,1) /* ghc-8.10.1 */
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cpp if branch without code

HsTickPragma{} -> do
-- TODO
briDocByExactInlineOnly "HsTickPragma{}" lexpr
#if MIN_VERSION_ghc(8,10,1) /* ghc-8.10.1 */
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cpp if branch without code

@jneira
Copy link
Copy Markdown
Contributor

jneira commented Nov 16, 2020

Yeah, but it should no make fail previous ghc versions but make ghc-8.10.1 fail, no?
(sorry if i am wrong i am only gathering at the code without even compiling it)

Can you share the errors that were thrown for earlier versions? are there in the travis failed build for this pr?

@tfausak
Copy link
Copy Markdown
Collaborator

tfausak commented Nov 16, 2020

Sorry, my comment wasn't very helpful. Also apparently the links I shared earlier don't work anymore. I probably shouldn't have rebased #324. Here are actually usable links to the build failures:

@tfausak
Copy link
Copy Markdown
Collaborator

tfausak commented Nov 23, 2020

I'm closing this in favor of #324, which includes these commits. Please let me know if I've missed something!

@tfausak tfausak closed this Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants