Skip to content

Commit

Permalink
workaround/Hack for HaxeGenericSpecialization not supporting typePara…
Browse files Browse the repository at this point in the history
…meter functions that only got arguments, returnType pair (no functionType reference).
  • Loading branch information
m0rkeulv committed Apr 1, 2024
1 parent 1c2ea96 commit 4e177a3
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,6 @@ static private ResultHolder getFunctionReturnType(HaxeNamedComponent comp, HaxeG
localResolver.addAll(resolver);
localResolver.addAll(classSpecificResolver); // overwrite any existing typeParameters with specifics for class
ResultHolder resolve = HaxeTypeResolver.getTypeFromTypeOrAnonymous(typeOrAnonymous, localResolver, true);
//TODO mlo: double resolve will cause issues (need another way to get correct typeParameter names)
//ResultHolder resolve = resolver.resolveReturnType(anonymous);
if (resolve != null && !resolve.isUnknown()) {
return resolve;
}
Expand Down

0 comments on commit 4e177a3

Please sign in to comment.