Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Consider updating the Code type to match the existing Code type. #111

Closed
jakemac53 opened this issue Oct 22, 2024 · 0 comments
Closed

Consider updating the Code type to match the existing Code type. #111

jakemac53 opened this issue Oct 22, 2024 · 0 comments

Comments

@jakemac53
Copy link
Contributor

jakemac53 commented Oct 22, 2024

This would allow us to provide some more safety in APIs that accept code (accepting only certain subtypes of Code) and convenience around building certain types of code such as type annotations.

Ultimately being extension types we can't make this perfect especially in terms of the safety aspect, we can't rely on anything. But, it still puts people on a golden path that is harder to use incorrectly.

@davidmorgan davidmorgan closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants