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

Report all type mismatches #939

Merged
merged 1 commit into from
Sep 12, 2022

Conversation

RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Sep 12, 2022

Fixes #928


As discussed on discord.

All input type error will now be reported. Even if a nicely formatted error message is not available, an error message will be generated.

Since type errors are quite technical in nature, I expect that we will likely tweak the printErrorTrace method in the future to further improve user-friendliness.

Example: Here is the same error, once with a generated error trace and once with a nice error message.

image
image

@RunDevelopment
Copy link
Member Author

@joeyballentine, does this fix #928?

@joeyballentine
Copy link
Member

Yes I would say so.

@joeyballentine joeyballentine merged commit 0eb9b68 into chaiNNer-org:main Sep 12, 2022
@RunDevelopment RunDevelopment deleted the mismatch-report branch September 13, 2022 11:13
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.

Prevent restricted types from being connected until valid type is determined
2 participants