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 callable parameters with type parameters
Browse files Browse the repository at this point in the history
This part of #108 actually already works, since parameters don’t have
their own node type: They’re AttributeDeclarations or
MethodDeclarations, and MethodDeclarations of course already support
type parameters.
  • Loading branch information
lucaswerkmeister committed Jun 4, 2015
1 parent 78a0794 commit 9550799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test-samples/higherTypes.ceylon
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ interface SecondOrder<Box>
given Box<Value> {
shared formal Box<Float> createBox(Float float);
}
void takesCallableParamWithTypeParam(T f<T>(T t)) {}

0 comments on commit 9550799

Please sign in to comment.