Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Bump deps and adapt to new apis #162

Merged
merged 3 commits into from
Jan 6, 2016
Merged

Conversation

cocreature
Copy link
Collaborator

There are two minor changes here:

  • I adapted the ApplyRefactPlugin to the new hlint api.
  • I slightly changed the encoding of IdeError. Previously we had a Maybe Value which causes issues with the new aeson (I haven’t looked into why we didn’t run into it with the old version) since both Nothing and Just Null are encoded to Null so we no longer have an isomorphism. Since we already have a Null value in Value and I don’t think we need the distinction here, this is now just a Value.

res <- catchException $ hlint hlintOpts
logm $ "applyHint:res=" ++ show res
-- res <- hlint hlintOpts
(flags,classify,hint) <- autoSettings
Copy link
Collaborator

Choose a reason for hiding this comment

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

You should rather use argSettings, so we can eventually pass through any extra flags the user has set.

See alanz@97ccf82#diff-7b1a90d13e6fd0644f04b15c6c20befeR106, from my branch updating apply-refact

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks, updated. Sorry for duplicating your efforts, I didn’t see that you were already working on it.

- HaRe-0.8.2.1
- rosezipper-0.2
- syz-0.2.0.0
- hlint-1.9.26
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am pretty sure this version of hlint is in the current nightly, can be removed from this file

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I thought I checked but apparently I haven’t. Just pushed an update.

alanz added a commit that referenced this pull request Jan 6, 2016
Bump deps and adapt to new apis
@alanz alanz merged commit cb23e7d into haskell:master Jan 6, 2016
@alanz alanz added this to the prehistory milestone Feb 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants