Skip to content

Commit

Permalink
update generator for-in test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyuichi committed May 14, 2014
1 parent 1ec4c36 commit 45c6774
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -7,8 +7,8 @@ end
class _Main {
static function main (args : string[]) : void {

function * foo (ary : Map.<string>) : Generator.<void,string> {
for (var i in ary) {
function * foo (map : Map.<string>) : void yield string {
for (var i in map) {
yield i;
}
}
Expand Down

0 comments on commit 45c6774

Please sign in to comment.