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

Implement new fall-back behavior for ? #2203

Merged
merged 10 commits into from
Jun 11, 2021
Merged

Conversation

Gabriella439
Copy link
Collaborator

… and also track other standard changes, like parsing
multiple shebang lines

… and also track other standard changes, like parsing
multiple shebang lines
Gabriella439 added a commit that referenced this pull request May 31, 2021
I've temporarily disabled the import-related tests until
#2203 is merged
dhall/src/Dhall/Import.hs Outdated Show resolved Hide resolved
dhall/src/Dhall/Import.hs Outdated Show resolved Hide resolved
@Gabriella439 Gabriella439 merged commit a351cd8 into master Jun 11, 2021
@Gabriella439 Gabriella439 deleted the gabriel/new_fall_back branch June 11, 2021 01:56
timbertson added a commit to timbertson/dhall-render that referenced this pull request Aug 26, 2021
This supercedes the changes in f53b604

Thanks to dhall-lang/dhall-haskell#2203
(to be released in dhall 1.40.0), the `?` operator now only
falls back on import not found, but not type errors etc.

There's still some chance for accidental fallback, but that can
now be worked around by using an intentional type error to prevent
unwanted fallbacks.
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