-
Notifications
You must be signed in to change notification settings - Fork 63
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
Constructors for Exported Types? #211
Comments
Constructors are not supported yet, however |
yglukhov
added a commit
that referenced
this issue
Jun 11, 2021
yglukhov
added a commit
that referenced
this issue
Jun 11, 2021
The crash is fixed. Leaving this open until custom constructors are implemented. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the type
in pylib.nim
I can neither do
nor
This is a much awaited feature for me and I understand this might still be incompletely implemented at this point.
Are getters and setters the only way to construct objects? Or am I doing something wrong? I get no compile errors.
new_TestType throws
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
at runtime from Python.
The text was updated successfully, but these errors were encountered: