Permalink
Browse files

Fix an exception throw.

  • Loading branch information...
jnthn committed Oct 7, 2012
1 parent fa7fca7 commit e52612f0aa01fc5c66700b0b3d67603b368e0eb0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/operators.pm
View
@@ -262,7 +262,7 @@ sub INDIRECT_NAME_LOOKUP($root, *@chunks) is rw {
GLOBAL::.exists($first) ?? GLOBAL::{$first} !!
X::NoSuchSymbol.new(symbol => $name).fail;
for @parts {
- X::NoSuchSymbol(symbol => $name).fail unless $thing.WHO.exists($_);
+ X::NoSuchSymbol.new(symbol => $name).fail unless $thing.WHO.exists($_);
$thing := $thing.WHO{$_};
}
$thing;

0 comments on commit e52612f

Please sign in to comment.