-
Notifications
You must be signed in to change notification settings - Fork 48
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
TAIT defining scope options #206
Comments
Here's a summary of the discussion so far, insofar as that is possible, with links to resources:
|
Summary
Please describe your meeting topic here. It doesn't have to be very long, but
it's always good to try and identify a concrete question to be answered or
narrow topic for discussion. Nobody likes a rambly meeting.
There are several options around what the defining scope of a TAIT is allowed to be and whether to require an explicit
#[defines]
or#[defined_by]
attribute. From a recent discussion in the lang team meeting (linked below), the primary tradeoffs involved are:We have several possible paths forward with various amounts of conservatism involved for a "TAIT MVP". The decision takes place along two axes:
Some of these options are forward-compatible with others from a lang perspective (some through an edition), but it is possible they would require considerable complexity or performance pessimization to continue supporting in the compiler and IDE tooling.
Background reading
Include any links to material that folks ought to try to read before-hand.
There probably needs to be a doc summarizing the discussion so far, but I don't know who is prepared to write that doc.
About this issue
This issue corresponds to a lang-team design meeting proposal. It corresponds to a possible topic of discussion that may be scheduled for deeper discussion during one of our design meetings.
cc @oli-obk @cramertj @matklad
The text was updated successfully, but these errors were encountered: