Problem fixed and test added, closing ticket.
>> Where to put a test for this? There is no t/ops/io.t and creating a
>> file for each io opcode seems excessive
> Create a t/ops/io.t. We'll add to it in the I/O milestone (the next one on
> the list, which I'll create a branch for later this week).
Created and added open null tests in r31950
NotFound wrote:
Where to put a test for this? There is no t/ops/io.t and creating a
file for each io opcode seems excessive
Create a t/ops/io.t. We'll add to it in the I/O milestone (the next one
on the list, which I'll create a branch for later this week).
Allison
> (I'd expect an exception to be raised instead.)
>
>
> PIR code:
>
> ..sub 'foo' :main
> $S0 = null
> $P0 = open $S0, '<'
> ..end
>
> output:
> src/string.c:2106: failed assertion 's'
Fixed in r31565 , but several questions opened:
Where to put a test for this? There is no t/ops/io.t and
# New Ticket Created by I Sop
# Please include the string: [perl #59544]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=59544 >
(I'd expect an exception to be raised instead.)
PIR code:
..sub 'foo' :main
$S0 = null