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
use A B; gives "Cannot invoke null object" #3649
Comments
From @bbkr22:57 bbkr: r-m: use A B; # LTA error STD behavior: STD response also seems weird to me - why it did not stop after "Cannot locate module A" fatal error but reached "Undeclared name: B" check? |
From @jnthnOn Mon Jan 19 14:09:01 2015, bbkr@post.pl wrote:
STD *is* wrong to report both, but the correct thing to complain about is the undeclared name B. That is the argument to the use operation, and so is evaluated before the module search. Rakudo now does this: $ perl6-m -e "use A B;" Test added in S32-exceptions/misc.t; resolving. |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#123627 (status was 'resolved')
Searchable as RT123627$
The text was updated successfully, but these errors were encountered: