Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
turn tabs into whitespaces
  • Loading branch information
gfldex committed Jun 16, 2016
1 parent fd61951 commit a8fadeb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions doc/Language/variables.pod
Expand Up @@ -33,15 +33,15 @@ X<|is (container type)>
The default type can be set with C<is>.
class FailHash is Hash {
has Bool $!final = False;
multi method AT-KEY ( ::?CLASS:D: Str:D \key ){
fail X::OutOfRange.new(:what("Hash key"), :got(key), :range(self.keys)) if $!final && !self.EXISTS-KEY(key);
callsame
}
method finalize () {
$!final = True
}
has Bool $!final = False;
multi method AT-KEY ( ::?CLASS:D: Str:D \key ){
fail X::OutOfRange.new(:what("Hash key"), :got(key), :range(self.keys)) if $!final && !self.EXISTS-KEY(key);
callsame
}
method finalize () {
$!final = True
}
}
my %h is FailHash = oranges => "round", bananas => "bendy";
Expand Down

0 comments on commit a8fadeb

Please sign in to comment.