Skip to content

Commit

Permalink
extra tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed May 11, 2012
1 parent b0ad235 commit e675d54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/main/function/Comprehensions.ceylon
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ void comprehensions() {
Entry<String,Integer>[] entries = { for (s in words) for (n in 0..10) s->n };
@type["Empty|Sequence<String>"] value seq = { for (x in {null, "hello", "goodbye"}) if (exists x) if (x.size>1) x.uppercased };
@type["Array<String>"] array(for (x in {null, "hello", "goodbye"}) if (exists x) if (x.size>1) x.uppercased);

value xxx = { array { seq... }... };

}

0 comments on commit e675d54

Please sign in to comment.