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

defaults does not work on generic types #13

Open
beef331 opened this issue Nov 11, 2023 · 1 comment
Open

defaults does not work on generic types #13

beef331 opened this issue Nov 11, 2023 · 1 comment

Comments

@beef331
Copy link
Owner

beef331 commented Nov 11, 2023

Attempting to use defaults with generic objects results in compiler errors both with {} and {defTypeConstr}. We likely need to lift the generic parameters and add them to the procedures. Then use Inner[T] everywhere instead of Inner.

@Patitotective no clue if you have any interest in throwing darts and seeing what lands. Totally up to you.

Patitotective added a commit to Patitotective/constructor that referenced this issue Nov 23, 2023
@Patitotective
Copy link
Contributor

I added the generic parameters to the init procedure but now it doesn't seem find the init procedure, here's the PR trying to solve it #14

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

2 participants