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

Upgrade to ghc-lib-8.8.1.20200225 #4692

Merged
merged 1 commit into from
Feb 25, 2020
Merged

Upgrade to ghc-lib-8.8.1.20200225 #4692

merged 1 commit into from
Feb 25, 2020

Conversation

shayne-fletcher
Copy link
Contributor

  • Prelude daml 1.2 is now optional;
  • HsDumpAst now comes from ghc-lib-parser.

Copy link
Contributor

@hurryabit hurryabit left a comment

Choose a reason for hiding this comment

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

Awesome. Thanks.

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.

Can we please have a test for daml 1.2 being optional?

@shayne-fletcher
Copy link
Contributor Author

shayne-fletcher commented Feb 25, 2020

@cocreature The next PR I raise will remove daml 1.2 from everywhere. I'll leave one specific file behind that keeps it. Will that work for you?

@cocreature
Copy link
Contributor

I prefer tests in the same PR that adds a new feature or introduces a change.

@shayne-fletcher
Copy link
Contributor Author

Two new files added:

  • DamlHasVersion.daml
  • DamlNoVersion.daml.

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 for adding the test, looks great 👍

@shayne-fletcher shayne-fletcher force-pushed the update-ghc-lib branch 2 times, most recently from 63333e3 to 22a6caa Compare February 25, 2020 16:08
- Prelude `daml 1.2` is now optional;
- `HsDumpAst` now comes from `ghc-lib-parser`.

changelog_begin
changelog_end
@shayne-fletcher
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@shayne-fletcher
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@shayne-fletcher shayne-fletcher merged commit 8c36b68 into master Feb 25, 2020
@shayne-fletcher shayne-fletcher deleted the update-ghc-lib branch February 25, 2020 19:57
Copy link
Contributor

@hurryabit hurryabit left a comment

Choose a reason for hiding this comment

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

Nice. Thanks.

@@ -227,7 +227,7 @@ basicTests mbScenarioService = Tasty.testGroup "Basic tests"
setFilesOfInterest [a]
expectWarning (a,0,25) "The import of ‘B’ is redundant"
setBufferModified a "???"
expectOneError (a,0,0) "Missing daml version"
Copy link
Contributor

Choose a reason for hiding this comment

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

I must be missing something: How was there a "Missing daml version" error in the past?

Copy link
Contributor

Choose a reason for hiding this comment

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

well there is no DAML version if you replace the content by ??? 🙂

Copy link
Contributor

Choose a reason for hiding this comment

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

That is exactly the thing I missed. Thanks for pointing me at it.

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