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

Fix directed method returning class without default ctor #2645

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ojwb
Copy link
Member

@ojwb ojwb commented Jun 28, 2023

No description provided.

@ojwb
Copy link
Member Author

ojwb commented Oct 10, 2023

I wrote in the issue:

In CI, the testcase I added for this also fails for csharp, d and java, but for a different reason - these all seem to default construct a static object of the type to point a reference at.

However the CI logs have expired so I've rebased and force-pushed the branch (I cherry-picked and merged the comment fix commit a while ago).

@ojwb ojwb self-assigned this Oct 10, 2023
@ojwb ojwb force-pushed the director-return-no-default-ctor branch from 97036d3 to 713b78f Compare October 13, 2023 01:02
@wsfulton wsfulton added this to the swig-4.2 milestone Oct 13, 2023
@wsfulton
Copy link
Member

Sorry, I added the swig-4.2 milestone because I thought this was ready for review, but with the CI testing showing failures, I got that wrong, so removing.

@wsfulton wsfulton removed this from the swig-4.2 milestone Oct 20, 2023
@ojwb
Copy link
Member Author

ojwb commented Oct 24, 2023

It'd be nice to resolve and I'll try to have another poke, but indeed doesn't need to be a blocker for 4.2.0.

This wasn't working for Go, Ocaml, Octave, PHP, Python or Ruby.

Fixes swig#1145
@ojwb ojwb force-pushed the director-return-no-default-ctor branch from 713b78f to 7424c0f Compare June 19, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants