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

'this' in abstracts should refer to underlying type. #963

Open
EricBishton opened this issue Oct 12, 2019 · 1 comment
Open

'this' in abstracts should refer to underlying type. #963

EricBishton opened this issue Oct 12, 2019 · 1 comment

Comments

@EricBishton
Copy link
Member

When referring to 'this' in abstract classes, the underlying class is actually being referred to. 'Goto', completion, etc. should work with the underlying class. Right now, in the IDE, 'this' is understood to refer to the surrounding (abstract) class. (There is a conversation about using 'self' to refer to the abstract itself.) The resolver needs to understand that 'this' can refer to another class in this instance.

@EricBishton
Copy link
Member Author

Need to update the main HaxeResolver, but probably also the _handle() routine in the HaxeTypeResolver (models).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant