Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Add test for named arg funs with type params
Browse files Browse the repository at this point in the history
Part of #108.
  • Loading branch information
lucaswerkmeister committed Jun 9, 2015
1 parent 5517f2c commit 4ab6734
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test-samples/higherTypes.ceylon
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ interface SecondOrder<Box>
shared formal Box<Float> createBox(Float float);
}
void takesCallableParamWithTypeParam(T f<T>(T t)) {}
value namedArgsInvocWithFunctionArgWithTypeParam = f {
function f<T>(T t) {
return t;
}
};

0 comments on commit 4ab6734

Please sign in to comment.