Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Properly fix LTA error in X::Undeclared::Symbols
  • Loading branch information
lizmat committed Aug 17, 2014
1 parent 509d47a commit f1d12b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Exception.pm
Expand Up @@ -611,10 +611,10 @@ my class X::Undeclared::Symbols does X::Comp {
has %.unk_routines;
has %.routine_suggestion;
has %.type_suggestion;
multi method gist(X::Undeclared::Symbols:D :$sorry = True) {
multi method gist(X::Undeclared::Symbols:D: :$sorry = True) {
($sorry ?? self.sorry_heading() !! "") ~ self.message
}
method message(X::Undeclared::Symbols:D) {
method message(X::Undeclared::Symbols:D:) {
sub l(@l) {
my @lu = @l.map({ nqp::hllize($_) }).uniq.sort;
'used at line' ~ (@lu == 1 ?? ' ' !! 's ') ~ @lu.join(', ')
Expand Down

0 comments on commit f1d12b0

Please sign in to comment.