Skip to content

Conversation

@dolio
Copy link
Contributor

@dolio dolio commented Aug 12, 2025

Previously this would just error out. Instead, we now do a subtyping check against a fabricated handler request type. This allows type checking to progress, so you can reach other error error states. So for instance, if the handler is a blank, as in #5304, it will now properly report that it doesn't know what the handler is referring to, instead of being a type error.

Fixes #5304

Copy link
Member

@pchiusano pchiusano left a comment

Choose a reason for hiding this comment

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

Nice. I am really enjoying all these little fixes!

@aryairani aryairani merged commit a946781 into trunk Aug 12, 2025
13 checks passed
@aryairani aryairani deleted the fix/5304 branch August 12, 2025 21:04
@aryairani
Copy link
Contributor

Whoops, I misread the CI results; hopefully it passes 😬

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.

Bad error on unknown handler

4 participants