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

Commit

Permalink
Support anonymous functions with type constraints
Browse files Browse the repository at this point in the history
Part of #108.
  • Loading branch information
lucaswerkmeister committed Jun 14, 2015
1 parent 53e74f8 commit 820b3df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/ceylon/formatter/FormattingVisitor.ceylon
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ shared class FormattingVisitor(
for (list in CeylonIterable(that.parameterLists)) {
visitParameterListAnonymous(list);
}
that.typeConstraintList?.visit(this);
if (exists expr = that.expression) {
fWriter.writeToken {
"=>";
Expand Down

0 comments on commit 820b3df

Please sign in to comment.