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

A couple of improvements to the experience developing hie-core itself #2812

Merged
merged 2 commits into from
Sep 8, 2019

Conversation

hsenag
Copy link
Contributor

@hsenag hsenag commented Sep 8, 2019

A couple of changes I found useful when making changes to hie-core (to support .hs-boot files,
I'll send a separate PR when that's ready).

Including the compiler pass in the diagnostic source helped me understand which bit of code
needed changing.

Since the hie.yaml file already includes both the library and the exe, it makes sense to include the tests too.

Pull Request Checklist

  • [ X ] Read and understand the contribution guidelines
  • [ X ] Include appropriate tests
  • [ X ] Set a descriptive title and thorough description
  • [ X ] Add a reference to the issue this PR will solve, if appropriate
  • [ X ] Add a line to the release notes, if appropriate
  • [ X ] Normal production system change, include purpose of change in description

NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with /AzurePipelines run to
trigger the build.

…ostic

It's useful when looking at the hie-core command-line output to see where
a problem is coming from.
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.

Looks great, thank you!

@cocreature
Copy link
Contributor

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@ndmitchell ndmitchell left a comment

Choose a reason for hiding this comment

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

LGTM. When I wrote that hie.yaml there were no tests :)

@cocreature cocreature merged commit a3111fa into digital-asset:master Sep 8, 2019
hsenag added a commit to hsenag/daml that referenced this pull request Sep 13, 2019
…digital-asset#2812)

* Put information about the compiler pass in the _source field of Diagnostic

It's useful when looking at the hie-core command-line output to see where
a problem is coming from.

* include test code in hie-core's own cradle
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.

3 participants