Skip to content
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

Update hlint #5123

Merged
merged 1 commit into from
Mar 22, 2020
Merged

Update hlint #5123

merged 1 commit into from
Mar 22, 2020

Conversation

shayne-fletcher
Copy link
Contributor

Update hlint. Depends on digital-asset/hlint#52

@shayne-fletcher shayne-fletcher force-pushed the update-hlint branch 4 times, most recently from d8ca9c7 to a629019 Compare March 22, 2020 14:53
@shayne-fletcher shayne-fletcher marked this pull request as ready for review March 22, 2020 14:53
Copy link
Contributor

@cocreature cocreature left a comment

Choose a reason for hiding this comment

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

I’m not a fan of the rules encouraging point-free style. Can we please disable them by default.

compiler/damlc/tests/daml-test-files/Newtype.daml Outdated Show resolved Hide resolved
compiler/damlc/tests/daml-test-files/Generics.daml Outdated Show resolved Hide resolved
compiler/damlc/daml-ide-core/dlint.yaml Outdated Show resolved Hide resolved
compiler/damlc/daml-ide-core/dlint.yaml Outdated Show resolved Hide resolved
compiler/damlc/tests/daml-test-files/TextMap.daml Outdated Show resolved Hide resolved
@shayne-fletcher
Copy link
Contributor Author

@cocreature PR adjusted as per your comments.

changelog_begin
changelog_end
Copy link
Contributor

@cocreature cocreature left a comment

Choose a reason for hiding this comment

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

Thanks!

@shayne-fletcher shayne-fletcher added automerge language Language team work labels Mar 22, 2020
@mergify mergify bot merged commit 2525a46 into master Mar 22, 2020
@mergify mergify bot deleted the update-hlint branch March 22, 2020 16:30
@@ -1,6 +1,8 @@
-- Copyright (c) 2020, Digital Asset (Switzerland) GmbH and/or its affiliates.
-- All rights reserved.

-- @INFO Use catOptionals

Copy link
Contributor

Choose a reason for hiding this comment

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

What are we testing here? And why is this test called ActionFail?

Copy link
Contributor Author

@shayne-fletcher shayne-fletcher Mar 23, 2020

Choose a reason for hiding this comment

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

That's lost in the mists of time but if I had to guess, it's that fail works correctly in the presence of RebindableSyntax (ghc-proposals/ghc-proposals#168).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language Language team work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants