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

Refactor shared TargetProblem data types into their own module. #6821

Merged
merged 1 commit into from
May 19, 2020

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented May 19, 2020

Moved "problem rendering" to CmdErrorMessages module

Additions by Oleg Grenrus:

  • There were CommonTargetProblem, but now
    TargetProblem has an extension point so we can have just one type.
    A lot of code is simplified as we don't need to pass in injection
    from CommonTargetProblem to the resulting err type.

--

An extension of #6774. cc @m-renaud

Moved "problem rendering" to CmdErrorMessages module

Additions by Oleg Grenrus:

- There were CommonTargetProblem, but now
  TargetProblem has an extension point so we can have just one type.
  A lot of code is simplified as we don't need to pass in injection
  from CommonTargetProblem to the resulting `err` type.
@phadej phadej added this to the 3.4.0.0 milestone May 19, 2020
@phadej phadej merged commit 10f33ba into haskell:master May 19, 2020
@phadej phadej deleted the pr-6774 branch May 19, 2020 14:04
@phadej phadej mentioned this pull request Jul 10, 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.

2 participants