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
Missing line/column number information when using a missing module #5235
Comments
From @azawawiuse NotFoundModule; or use NotInstalledModule; produces no line/column number error information in the error message. |
From @zoffixznetI, unsuccessfully, tried my hand and fixing this. Just adding a few comments with what little I found: This gives a bit of info on what gets called: $ perl6 -e 'EVAL "use Foo"; CATCH { default { warn .backtrace }}' in any load_module at src/Perl6/World.nqp line 986 If you pop open src/Perl6/World.nqp and look at load_module sub, it uses nqp to call .head.need on CompUnit::RepositoryRegistry, passing it a spec. And if you reproduce that with Perl 6 directly, then the issue described in this bug report goes away and you *do* get a line number reported: $perl6 -e 'CompUnit::RepositoryRegistry.head.need( CompUnit::DependencySpecification.new( :short-name<Foo> ) );' No idea where to take it from here... |
The RT System itself - Status changed from 'new' to 'open' |
From @azawawiIt is now fixed on latest. Please close this ticket. 2016-04-16 9:55 GMT+03:00 Zoffix Znet via RT <perl6-bugs-followup@perl.org>:
|
@smls - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#127883 (status was 'resolved')
Searchable as RT127883$
The text was updated successfully, but these errors were encountered: