From 4ab67340c901782c29d091a50e23f4aaf1cf40e7 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Tue, 9 Jun 2015 21:06:20 +0200 Subject: [PATCH] Add test for named arg funs with type params Part of #108. --- test-samples/higherTypes.ceylon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test-samples/higherTypes.ceylon b/test-samples/higherTypes.ceylon index f60ec9c..859323a 100644 --- a/test-samples/higherTypes.ceylon +++ b/test-samples/higherTypes.ceylon @@ -3,3 +3,8 @@ interface SecondOrder shared formal Box createBox(Float float); } void takesCallableParamWithTypeParam(T f(T t)) {} +value namedArgsInvocWithFunctionArgWithTypeParam = f { + function f(T t) { + return t; + } +};