Skip Menu |
Report information
Id: 124324
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: FROGGS.de <email [at] froggs.de>
LeonT <fawaka [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag:
  • Bug
  • Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] cannot use EVAL in a precompiled dependency
Download (untitled) / with headers
text/plain 645b
$ 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')
Date: Mon, 7 Dec 2015 22:53:22 +0100
From: Leon Timmermans <fawaka [...] gmail.com>
To: rakudobug [...] perl.org
Subject: Can't EVAL in a module loaded by a module
Download (untitled) / with headers
text/plain 317b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org