Skip to content

Commit

Permalink
metamodel #226: made getTypeDescriptorForArguments more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
FroMage committed Jul 16, 2013
1 parent d8af545 commit 55a7630
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -542,11 +542,11 @@ public static boolean isCeylon(com.redhat.ceylon.compiler.typechecker.model.Clas

public static TypeDescriptor getTypeDescriptorForArguments(com.redhat.ceylon.compiler.typechecker.model.Unit unit,
com.redhat.ceylon.compiler.typechecker.model.Functional decl,
ProducedType producedType) {
ProducedReference producedReference) {

List<Parameter> parameters = decl.getParameterLists().get(0).getParameters();
com.redhat.ceylon.compiler.typechecker.model.ProducedType tupleType
= com.redhat.ceylon.compiler.typechecker.analyzer.Util.getParameterTypesAsTupleType(unit, parameters, producedType);
= com.redhat.ceylon.compiler.typechecker.analyzer.Util.getParameterTypesAsTupleType(unit, parameters, producedReference);
return Metamodel.getTypeDescriptorForProducedType(tupleType);
}
}

0 comments on commit 55a7630

Please sign in to comment.