Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[SymbolTable] Ignore undefined parameters in cache key, saves a lot o…
…f "Use of uninitialized value in string context" when passing :name(Mu)
  • Loading branch information
Tadeusz Sośnierz committed Jul 7, 2011
1 parent 40859e6 commit 48ed49c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Perl6/SymbolTable.pm
Expand Up @@ -707,7 +707,8 @@ class Perl6::SymbolTable is HLL::Compiler::SerializationContextBuilder {
# just return that.
my $namedkey := '';
for %named {
$namedkey := $namedkey ~ $_.key ~ ',' ~ $_.value ~ ';';
$namedkey := $namedkey ~ $_.key ~ ',' ~ $_.value ~ ';'
if pir::defined($_.value);
}
my $cache_key := "$type,$primitive,"
~ pir::join(',', @value)
Expand Down

0 comments on commit 48ed49c

Please sign in to comment.