-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature/refactor introduce ResolvingType #169
Conversation
Just os that I dont check in test exports
Resolving types know their TypeID by now
@@ -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); |
There was a problem hiding this comment.
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()
There was a problem hiding this comment.
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.
No description provided.