-
-
Notifications
You must be signed in to change notification settings - Fork 418
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
Constructors don't have docstrings in generated documentation. #1993
Comments
@Praetonus believes that the trait pass runs on every method whether there is a trait or not. |
@Praetonus looking at the code says that the trait pass shouldnt be running here so we have a bug that needs to be fixed. |
Is this still an issue? The docstring appears to have been correctly generated for the example. |
It might on longer be an issue. Might have been accidentally fixed. |
Closing on the assumption it was. |
This was fixed with: #2586 |
Moved from ponylang/ponylang-website#97
The Timers.create page
https://stdlib.ponylang.org/time-Timers/#create
Doe not include the docstring that appears in the 0.14 release
The docstring for the constructor is getting "lost" in
traits.c
at line 387:where it gets set to
TK_NONE
. What's very odd about this is why trait related code is being run on constructors for actors like Timers.Additionally, does it make sense to remove the docstring from a trait? It does it the trait is overridden but would this also remove the docstring when not overridden? I'm not sure, that requires more exploration.
The text was updated successfully, but these errors were encountered: