Skip to content

Commit

Permalink
Fix $_ bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jul 2, 2011
1 parent 6518be4 commit 67fe2fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Perl6/SymbolTable.pm
Expand Up @@ -17,6 +17,7 @@ my $SIG_ELEM_IS_PARCEL := 1024;
my $SIG_ELEM_IS_OPTIONAL := 2048;
my $SIG_ELEM_ARRAY_SIGIL := 4096;
my $SIG_ELEM_HASH_SIGIL := 8192;
my $SIG_ELEM_DEFAULT_FROM_OUTER := 16384;
my $SIG_ELEM_IS_CAPTURE := 32768;
my $SIG_ELEM_UNDEFINED_ONLY := 65536;
my $SIG_ELEM_DEFINED_ONLY := 131072;
Expand Down Expand Up @@ -390,6 +391,9 @@ class Perl6::SymbolTable is HLL::Compiler::SerializationContextBuilder {
elsif %param_info<sigil> eq '%' {
$flags := $flags + $SIG_ELEM_HASH_SIGIL;
}
if %param_info<default_from_outer> {
$flags := $flags + $SIG_ELEM_DEFAULT_FROM_OUTER;
}
pir::repr_bind_attr_int__vPPsI($parameter, $par_type, '$!flags', $flags);
$set_attrs.push(self.set_attribute_typed($parameter, $par_type,
'$!flags', $flags, int));
Expand Down

0 comments on commit 67fe2fd

Please sign in to comment.