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

Analyze devirtualized code to determine correct types to resolve #23

Open
puff opened this issue Nov 24, 2024 · 0 comments
Open

Analyze devirtualized code to determine correct types to resolve #23

puff opened this issue Nov 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@puff
Copy link
Owner

puff commented Nov 24, 2024

The new resolver improvements (#22) are not perfect.

For example, requiring dependencies to resolve generics is not 100% necessary.
Instead, we could analyze the devirtualized code and stack to get the correct type positions. This would likely be easiest by having a new stage to verify and fix types in the devirtualized code. Instead of attempting to guess generic type positions if we can't resolve them, we could mark it and resolve them using analysis to determine the correct positions. Echo would be a great candidate for this.

Same with field types, if we can't resolve the field, we could analyze the code and determine the field type to create a member reference to.

We could also use it for stind/stobj: #7

@puff puff added the enhancement New feature or request label Dec 14, 2024
@puff puff mentioned this issue Feb 20, 2025
4 tasks
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