# New Ticket Created by  Stephane Payrard 
# Please include the string:  [perl #105006]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=105006 >


For example, errors triggered by non respect of the contract imposed
by the MAIN function should result in a message explaining what part
of the contract is breached. Specific example : trying to execute an
non existing Perl6 file

$ perl6 non_existing_file
Error while reading from file: Unable to open filehandle from path
'non_existing_file'
current instr.: 'nqp;HLL;Compiler;_block1987' pc 36881
(src/stage2/gen/NQPHLL.pir:13256) (src/stage2/gen/NQPHLL.pm:1452)
called from Sub 'nqp;HLL;Compiler;evalfiles' pc 36546
(src/stage2/gen/NQPHLL.pir:13101) (src/stage2/gen/NQPHLL.pm:1438)
...

-- 
cognominal stef

Reply via email to