Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use EVAL in a precompiled dependency #3786

Open
p6rt opened this issue Apr 17, 2015 · 2 comments
Open

cannot use EVAL in a precompiled dependency #3786

p6rt opened this issue Apr 17, 2015 · 2 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 17, 2015

Migrated from rt.perl.org#124324 (status was 'new')

Searchable as RT124324$

@p6rt
Copy link
Author

p6rt commented Apr 17, 2015

From @FROGGS

$ cat eval.pm
BEGIN { EVAL 'say 42'; 0 }

$ cat use_eval.pm
use lib '.';
use eval;


$ perl6 --target=mbc --output=use_eval.pm.moarvm use_eval.pm
42


$ perl6 --target=mbc --output=eval.pm.moarvm eval.pm
42
$ perl6 --target=mbc --output=use_eval.pm.moarvm use_eval.pm
===SORRY!===
Missing or wrong version of dependency 'EVAL_0' (from 'eval.pm')


$ perl6 --target=mbc --output=eval.pm.moarvm eval.pm
42

$ perl6 use_eval.pm
===SORRY!===
Missing or wrong version of dependency 'EVAL_0' (from 'eval.pm')

@p6rt
Copy link
Author

p6rt commented Dec 7, 2015

From @Leont

Given a Bar.pm containing​:

  EVAL ''

And a Foo.pm containing

  use Bar;

When running perl6 -MFoo -e0 I'm getting an error

Missing or wrong version of dependency '/home/leon/Code/rakudo/Foo.pm'
(from '/home/leon/Code/rakudo/Foo.pm'), which suggests it get confused and
now things it is its own dependency.

Leon

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant