Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add .self as an identity method
So people aren't so tempted to hardwire * as an identity map function.
  • Loading branch information
TimToady committed Sep 19, 2015
1 parent eeed6bb commit a98ce40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Mu.pm
Expand Up @@ -5,6 +5,8 @@ my class X::Attribute::Required { ... }

my class Mu { # declared in BOOTSTRAP

method self { self }

# XXX while the GLR is fanning out to the ecosystem
proto method gimme(|) {
die "
Expand Down

0 comments on commit a98ce40

Please sign in to comment.