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

Render public record methods #743

Closed
1 task done
badcel opened this issue Jan 6, 2023 · 1 comment
Closed
1 task done

Render public record methods #743

badcel opened this issue Jan 6, 2023 · 1 comment
Milestone

Comments

@badcel
Copy link
Member

badcel commented Jan 6, 2023

Render struct methods / functions / constructors / typefunction in public Api. Probably depends on #622

If records are rendered as a class, verify if constructors should be regular constructors and all the classes be sealed as there is no inheritance for records. Alternatively make constructors static functions.

  • Verify WebKit2.UserScript.New it has a manually written constructor.
@badcel badcel added this to the 0.5.0 milestone Jan 27, 2023
@badcel
Copy link
Member Author

badcel commented Apr 4, 2024

  • Constructors get rendered as static methods as there are record types which are not sealed currently (foreign records).
  • WebKit2.UserScript.New is rendered.

@badcel badcel closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant