Skip to content

reflection and comptime #406

Description

@nikomatsakis
Metadata
Contact @oli-obk
Team(s) compiler (@oli-obk), lang (@scottmcm), libs (@joshtriplett), types
Goal document 2026/reflection-and-comptime
Funding contact Funding team

Summary

Finish the implemented reflection scheme based on const fn that can only be called at compile time.
Validate it against existing reflection libraries by giving them a nightly feature that obsoletes having derives and makes the derives no-ops.
Obtain T-lang and T-libs buy-in for the scheme and write an RFC.
This proposal is solely for producing const eval values, not for putting types back into the type system.
That will be a follow-up once this proposal has a merged MVP.


This issue is intended for status updates only.

For general questions or comments, please contact a goal owner or post in the Zulip topic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions