-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
The Problem
Foo.rakumod:
use Bar;
use Baz;
Bar.rakumod
use Inline::Python;
Baz.rakumod
use Inline::Python;
and doing:
raku -I. -MFoo -e ''
results in
===SORRY!=== Error while compiling -e
===SORRY!=== Error while compiling /home/ggoebel/git/test/Foo.rakumod (Foo)
===SORRY!=== Error while compiling /home/ggoebel/git/test/Baz.rakumod (Baz)
Could not find python in:
file#/home/ggoebel/git/test
inst#/home/ggoebel/.raku
inst#/home/ggoebel/raku/share/perl6/site
inst#/home/ggoebel/raku/share/perl6/vendor
inst#/home/ggoebel/raku/share/perl6/core
ap#
nqp#
perl5#
at /home/ggoebel/git/test/Baz.rakumod (Baz):1
at /home/ggoebel/git/test/Foo.rakumod (Foo):2
at -e:1
Note: based on the number of files in the .precomp directory, precomp for Bar.rakumod appears to be successful. It is only the second "use Inline::Python" that results in an error. If after getting the error, I change the order of the use statements, then the code will compile (and precompile) without error.
Metadata
Metadata
Assignees
Labels
No labels