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

Expose inherited macros in generated API docs #13810

Merged

Conversation

Blacksmoke16
Copy link
Member

@Blacksmoke16 Blacksmoke16 commented Sep 18, 2023

image

image

Unsure how I feel about the Object macros, it's technically correct, but not really something that makes sense to actually call like that.

Int.setter foo : Int32

Is valid code but produces invalid code so results in a compiler error. Could make sense to make those macros private, but then would need like a :showdoc: directive to allow them to be rendered.

Resolves #13809

Copy link
Member

@straight-shoota straight-shoota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. And the implementation is really straightforward 👍
Let's give some time to the discussion in #13810 though before merging.

@straight-shoota straight-shoota added this to the 1.11.0 milestone Nov 7, 2023
@straight-shoota straight-shoota merged commit c25640d into crystal-lang:master Nov 8, 2023
49 of 53 checks passed
@Blacksmoke16 Blacksmoke16 deleted the inherited-macros-docs branch November 8, 2023 20:18
Blacksmoke16 added a commit to Blacksmoke16/crystal that referenced this pull request Dec 11, 2023
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.

Missing inherited macros in generated docs
2 participants