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

Static methods don't work #89

Closed
adetaylor opened this issue Nov 12, 2020 · 0 comments · Fixed by #128
Closed

Static methods don't work #89

adetaylor opened this issue Nov 12, 2020 · 0 comments · Fixed by #128

Comments

@adetaylor
Copy link
Collaborator

Expected Behavior

Enable the test_static_func integration test kindly added by @SilensAngelusNex. Should pass.

Actual Behavior

Fails.

Diagnosis

At the moment there's no way we can add an associated method to a type in cxx as far as I know. We probably want to wait to see how dtolnay/cxx#464 pans out, then add support. (See also #88).

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.

1 participant