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

Add support for base field in project files #5359

Merged
merged 7 commits into from May 1, 2024

Conversation

keyboardDrummer
Copy link
Member

@keyboardDrummer keyboardDrummer commented Apr 25, 2024

Fixes #5337

Description

  • Add the field base to Dafny project files, which allows a project file to inherit fields from another one. Options from the current file override options from the base. Includes from the current file override excludes from the base, and excludes from the current file override includes from the base. The base may itself also have a base.
  • Small improvements to project file error reporting. See the updates in existing tests for more information.

How has this been tested?

  • Added the test cli/projectFile/base/included.dfy

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@keyboardDrummer keyboardDrummer requested review from ssomayyajula and removed request for MikaelMayer April 30, 2024 14:09
@keyboardDrummer keyboardDrummer merged commit 8ed91c4 into dafny-lang:master May 1, 2024
20 checks passed
@keyboardDrummer keyboardDrummer deleted the projectAsSource branch May 1, 2024 13:43
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.

Enable reusing the specification of options in a dfyconfig.toml
2 participants