Skip to content
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

Document builtin constants #14276

Merged

Conversation

straight-shoota
Copy link
Member

This is the easiest implementation attaching the documentation directly in the compiler where the constants are defined.
Further enhancements to allow hooking into constant documentation from stdlib would be possible. Use cases are limited, so I'm not sure if there would be much value in it. This is definitely a helpful improvement.

Resolves #14085

src/compiler/crystal/program.cr Outdated Show resolved Hide resolved
src/compiler/crystal/program.cr Outdated Show resolved Hide resolved
@straight-shoota straight-shoota added this to the 1.12.0 milestone Jan 30, 2024
@straight-shoota straight-shoota merged commit 2f48d29 into crystal-lang:master Jan 31, 2024
57 checks passed
@straight-shoota straight-shoota deleted the docs/builtin-constants branch January 31, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document builtin constants
3 participants