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

Fix import alternatives to recover from type errors #1152

Merged
merged 2 commits into from
Jul 26, 2019

Conversation

EggBaconAndSpam
Copy link
Collaborator

Previously, BAD="0 0" dhall <<< "env:BAD ? 0" resulted in the
following error:

↳ env:BAD

Error: Not a function

1│ 0 0

BAD:1:1

According to the standard the above expression was supposed to evaluate
successfully to 0. See #1146 for further discussion.

Frederik Ramcke added 2 commits July 25, 2019 09:29
Previously, `BAD="0 0" dhall <<< "env:BAD ? 0"` resulted in the
following error:
```
↳ env:BAD

Error: Not a function

1│ 0 0

BAD:1:1
```

According to the standard the above expression was supposed to evaluate
successfully to `0`. See #1146 for further discussion.
@Gabriella439 Gabriella439 merged commit 36379ce into master Jul 26, 2019
@Gabriella439 Gabriella439 deleted the frederik/importalt-typeerror branch July 26, 2019 01:05
@Gabriella439
Copy link
Collaborator

Thank you!

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.

None yet

2 participants