Skip to content

Commit

Permalink
Nil should stringify to '' without an "undefined" warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jul 7, 2011
1 parent 32ab8d4 commit 8f7a4ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Nil.pm
Expand Up @@ -3,6 +3,7 @@ my class Nil is Iterator {
method iterator() { self }
method reify($n?) { () }
method gist() { 'Nil' }
multi method Str() { '' }
}


0 comments on commit 8f7a4ec

Please sign in to comment.