Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove special casing of Nil.gist
This makes Nil.gist now appear as '(Nil)' instead of 'Nil', more
in line with all other type objects.  Also handles fallout of
changes to S02-types/WHICH.t tests.
  • Loading branch information
lizmat committed Oct 30, 2015
1 parent 2e19ebe commit 94ce3cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/Nil.pm
@@ -1,6 +1,5 @@
my class Nil is Cool { # declared in BOOTSTRAP
method new(*@) { Nil }
method gist(*@) { 'Nil' }
method Numeric() { warn "Use of Nil in numeric context"; 0 }
method Str() { warn "Use of Nil in string context"; '' }
method sink(*@) { Nil } # required by RESTRICTED setting
Expand Down

0 comments on commit 94ce3cf

Please sign in to comment.