Skip to content

Suppress warnings in autogenerated signatures. #5678

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

Merged
merged 2 commits into from
Nov 9, 2018

Conversation

quasicomputational
Copy link
Contributor

Issue #5677 demonstrates one way for warnings to be produced by dummy
signatures. Autogenerated code really ought to never be generating
warnings, under any sets of flags provided by the user; this patch
uses the big hammer of entirely disabling warnings for the generated
signatures.

Fixes #5677.


Please include the following checklist in your PR:

  • Patches conform to the coding conventions.
  • Any changes that could be relevant to users have been recorded in the changelog.
  • The documentation has been updated, if necessary.
  • If the change is docs-only, [ci skip] is used to avoid triggering the build bots.

Please also shortly describe how you tested your change. Bonus points for added tests!

Issue haskell#5677 demonstrates one way for warnings to be produced by dummy
signatures. Autogenerated code really ought to never be generating
warnings, under any sets of flags provided by the user; this patch
uses the big hammer of entirely disabling warnings for the generated
signatures.

Fixes haskell#5677.
@quasicomputational
Copy link
Contributor Author

Should be straightforward enough to merge to 2.4, too, so I'll milestone it.

@quasicomputational quasicomputational added this to the 2.4.0.1 milestone Nov 9, 2018
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "b093ebebdc0068ded64fd58b2b804ea6b56c0b1e",
"tag":"linux-7.10.3"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "b093ebebdc0068ded64fd58b2b804ea6b56c0b1e",
"tag":"linux-8.0.2"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "b093ebebdc0068ded64fd58b2b804ea6b56c0b1e",
"tag":"linux-7.8.4"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "b093ebebdc0068ded64fd58b2b804ea6b56c0b1e",
"tag":"linux-7.6.3"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"linux-8.0.2"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"linux-7.10.3"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"linux-7.6.3"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"linux-7.8.4"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"linux-8.2.2"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"linux-8.6.2"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"linux-8.4.4"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"linux-8.4.4-fdebug-expensive-assertions"
}
Copy link
Member

@23Skidoo 23Skidoo left a comment

Choose a reason for hiding this comment

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

Makes sense.

haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"osx-7.8.4"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"osx-7.10.3"
}
haskell-pushbot pushed a commit to haskell-pushbot/cabal-binaries that referenced this pull request Nov 9, 2018
"url":"pull/5678",
"account":"haskell",
"repo":"cabal",
"commit": "21240bbb919983a8e0bca83730584a91c6cad904",
"tag":"osx-8.0.2"
}
@23Skidoo 23Skidoo merged commit f2c3025 into haskell:master Nov 9, 2018
@23Skidoo
Copy link
Member

23Skidoo commented Nov 9, 2018

Merged, thanks!

23Skidoo added a commit that referenced this pull request Nov 9, 2018
Suppress warnings in autogenerated signatures.

(cherry picked from commit f2c3025)
@23Skidoo
Copy link
Member

23Skidoo commented Nov 9, 2018

Also cherry-picked to 2.4.

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.

2 participants