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 type constructors (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaswerkmeister committed Aug 26, 2015
1 parent 05b9985 commit d4c0112
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test-samples/higherTypes.ceylon
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ value anonymousGenericFunction = <T>(T t) given T satisfies Anything => t;
class C() {
parameterizedExpressionWithTypeParams<T>(T t) => t;
}
<T> => T(T) id = identity;
<T> given T satisfies Identifiable => T(T) id² = identity;

0 comments on commit d4c0112

Please sign in to comment.