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

Feature/refactor introduce ResolvingType #169

Merged

Conversation

kindlich
Copy link
Member

No description provided.

@@ -27,7 +27,7 @@ public GenericName(String name, TypeID[] arguments) {
public static Optional<TypeID> getInnerType(TypeID type, List<GenericName> name, int index, List<ExpansionSymbol> expansions) {
while (index < name.size()) {
GenericName innerName = name.get(index++);
ResolvedType members = type.resolve();
ResolvedType members = type.resolve().withExpansions(expansions);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Question: Do we even need the expansions here or could we remove that argument altogether and type.resolveWithoutExpansions()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, we may not need it here.

@stanhebben stanhebben merged commit 301ba5b into feature/refactor Sep 3, 2024
0 of 2 checks passed
@kindlich kindlich deleted the feature/refactor-simplify-type-resolution branch September 3, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants