# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #62768]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62768 >


Rakudo r35994 seems mightly confused about whether to compile a module
containing a bareword that hasn't been declared, and whether to
compile modules that depend on such a module.

$ cat A.pm
use B;
$ cat B.pm
class B does C;
$ $PARROT_DIR/parrot $PARROT_DIR/languages/perl6/perl6.pbc
--target=pir --output=B.pir B.pm
$ $PARROT_DIR/parrot $PARROT_DIR/languages/perl6/perl6.pbc
--target=pir --output=A.pir A.pm
Null PMC access in find_method()
[...]

There are two things wrong with the above. First B.pm shouldn't
compile. Second, A.pm shouldn't compile less often than B.pm does.

Note that running either A.pm or B.pm also produces the same Null PMC
access. Please fix that too.

Reply via email to