Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unbust Capture.BUILD on Parrot.
  • Loading branch information
jnthn committed Jan 16, 2014
1 parent 6f86d86 commit 1f34bcd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/Capture.pm
Expand Up @@ -7,9 +7,8 @@ my class Capture { # declared in BOOTSTRAP
nqp::bindattr(self, Capture, '$!list',
nqp::getattr(nqp::decont(@list.Parcel), Parcel, '$!storage')
);
nqp::bindattr(self, Capture, '$!hash',
nqp::defor(nqp::getattr(nqp::decont(%hash), EnumMap, '$!storage'), nqp::hash())
);
my Mu $hs := nqp::getattr(nqp::decont(%hash), EnumMap, '$!storage');
nqp::bindattr(self, Capture, '$!hash', nqp::ishash($hs) ?? $hs !! nqp::hash());
1;
}

Expand Down

0 comments on commit 1f34bcd

Please sign in to comment.