Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix an exception throw.

  • Loading branch information...
commit e52612f0aa01fc5c66700b0b3d67603b368e0eb0 1 parent fa7fca7
Jonathan Worthington authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/core/operators.pm
2  src/core/operators.pm
@@ -262,7 +262,7 @@ sub INDIRECT_NAME_LOOKUP($root, *@chunks) is rw {
262 262
                     GLOBAL::.exists($first) ?? GLOBAL::{$first} !!
263 263
                     X::NoSuchSymbol.new(symbol => $name).fail;
264 264
     for @parts {
265  
-        X::NoSuchSymbol(symbol => $name).fail unless $thing.WHO.exists($_);
  265
+        X::NoSuchSymbol.new(symbol => $name).fail unless $thing.WHO.exists($_);
266 266
         $thing := $thing.WHO{$_};
267 267
     }
268 268
     $thing;

0 notes on commit e52612f

Please sign in to comment.
Something went wrong with that request. Please try again.