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

Support nested selftype #129

Open
armoha opened this issue Aug 30, 2024 · 1 comment
Open

Support nested selftype #129

armoha opened this issue Aug 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@armoha
Copy link
Owner

armoha commented Aug 30, 2024

object Foo {
    var next: selftype;  // okay
    var refVec: EUDVArray(10, selftype);  // not supported
    var refreshFn: EUDTypedFuncPtr(selftype, None);  // not supported
};
@armoha armoha added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Aug 30, 2024
@armoha
Copy link
Owner Author

armoha commented Aug 30, 2024

Currently selftype is specially handled for field and method parameter type:
https://github.com/armoha/eudplib/blob/5fe6a24fdbb21203bd362f4d40d9571b512c9a7a/eudplib/core/eudstruct/structarr.py#L29-L31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant