#437: .loadlib fails silently
--------------------+-------------------------------------------------------
 Reporter:  moritz  |       Owner:     
     Type:  bug     |      Status:  new
 Priority:  normal  |   Milestone:     
Component:  none    |     Version:     
 Severity:  medium  |    Keywords:     
     Lang:          |       Patch:     
 Platform:          |  
--------------------+-------------------------------------------------------
 It appears that the .loadlib fails silently on wrong paths. For example
 Rakudo's perl6.pir contains the lines


 {{{
  .loadlib 'perl6_group'
  .loadlib 'perl6_ops'
 }}}

 If I introduce a typo in the name perl6_ops in the second line, I get no
 error message from the failed load, just from subsequent failures.

 This makes diagnosis very hard, and IMHO a failed .loadlib should throw an
 exception.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/437>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to