-
Notifications
You must be signed in to change notification settings - Fork 145
[Subtyping Generator] Generate subtype check for runtime static-types #4327
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
Conversation
Benchstat comparison
Results
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
619bfa6 to
2eef683
Compare
… into supun/subtype-gen-statictypes
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
turbolent
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! 👏
Just to clarify the currently generated code falls back to converting to sema types when necessary (e.g. to determine if a type is resource-typed, which isn't known at the static type level), right?
@turbolent Yes, that's correct. |
Co-authored-by: Bastian Müller <[email protected]>
8c8dbfe to
ee38b06
Compare
… into supun/subtype-gen-statictypes
Work towards #3691
Description
Includes only the changes to related to the subtype-check "generation". This doesn't integrate the generated function to the runtime. I have opened a separate PR #4322 to integrate the generated function.
masterbranchFiles changedin the Github PR explorer