File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5803,8 +5803,11 @@ method is_known ($n, $curlex = $*CURLEX) {
5803
5803
my $ name = $ n ;
5804
5804
self . deb(" is_known $ name" ) if $ * DEBUG +& DEBUG::symtab;
5805
5805
return True if $ * QUASIMODO ;
5806
- return True if $ * CURPKG . {$ name };
5807
5806
return False if $ name ~~ /\:\:\( /;
5807
+
5808
+ my $ varbind = { truename => ' ???' };
5809
+ return True if $ n ! ~~ /\:\: / and self . lex_can_find_name($ curlex ,$ name ,$ varbind );
5810
+
5808
5811
my $ curpkg = $ * CURPKG ;
5809
5812
my @ components = self . canonicalize_name($ name );
5810
5813
if @ components > 1 {
@@ -5845,10 +5848,7 @@ method is_known ($n, $curlex = $*CURLEX) {
5845
5848
# leading components take us non-lexical? assume we can't know
5846
5849
return False if $ curpkg ! === $ * CURPKG and $ curpkg <!id >[0 ] ~~ /^ GLOBAL($ | \:\:) /;
5847
5850
5848
- my $ varbind = { truename => ' ???' };
5849
- return True if $ n ! ~~ /\:\: / and self . lex_can_find_name($ curlex ,$ name ,$ varbind );
5850
5851
self . deb(" Not Found" ) if $ * DEBUG +& DEBUG::symtab;
5851
-
5852
5852
return False ;
5853
5853
}
5854
5854
You can’t perform that action at this time.
0 commit comments