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

nim gendepend does not work with var-less destructors #23848

Closed
beef331 opened this issue Jul 17, 2024 · 0 comments · Fixed by #23851
Closed

nim gendepend does not work with var-less destructors #23848

beef331 opened this issue Jul 17, 2024 · 0 comments · Fixed by #23851
Assignees

Comments

@beef331
Copy link
Collaborator

beef331 commented Jul 17, 2024

Description

type MyType = object
proc `=destroy`(a: MyType) = discard

Running nim gendepend on the above results in a compile time error saying Error: signature for '=destroy' must be proc[T: object](x: var T)

Nim Version

2.0.8 and devel

Current Output

No response

Expected Output

No response

Possible Solution

No response

Additional Information

No response

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

Successfully merging a pull request may close this issue.

2 participants