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

Show some details in InvalidType error output #824

Merged
merged 7 commits into from
Feb 23, 2019

Conversation

jneira
Copy link
Collaborator

@jneira jneira commented Feb 22, 2019

  • Maybe it has not the full context but i think it can help to high level Dhall api users

@jneira jneira changed the title Show some details in TypeError output Show some details in InvalidType error output Feb 22, 2019
\matches the expected type. You provided a Type that disobeys this contract \n\
\ \n\
\The Type provided has the expected dhall type: \n\
\" <> show txt0 <> "\n\
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you add one blank line preceding each insert? This is mainly for consistent output style

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh, you are right

@Gabriella439 Gabriella439 merged commit d714754 into dhall-lang:master Feb 23, 2019
@jneira jneira deleted the type-error branch April 8, 2019 11:44
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