On Mon, Dec 16, 2002 at 03:25:36PM +0000, Andy Dougherty wrote:
> On Solaris 8, with Sun's Workshop Compiler, using Sun's supplied
> 5.00503, I get the following test failure in
> 
> t/compiler/1........#     Failed test (t/compiler/1.t at line 306)
> #          got: '7.000000 9.000000 4.000000 
> # 7.000000 9.000000 4.000000 
> # 10.000000 18.000000 0.000000 
> # 32.000000 729.000000 1.000000 
> # 0.400000 0.500000 Inf 
> # 1.000000 0.000000 0.000000 
> # 3.000000 3.000000 -4.000000 
> # '
> #     expected: '7.000000 9.000000 4.000000 
> # 7.000000 9.000000 4.000000 
> # 10.000000 18.000000 0.000000 
> # 32.000000 729.000000 1.000000 
> # 0.400000 0.500000 inf 
> # 1.000000 0.000000 0.000000 
> # 3.000000 3.000000 -4.000000 
> # '
> # Looks like you failed 1 tests of 14.
> dubious
>       Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 14
>       Failed 1/14 tests, 92.86% okay

I also see this on FreeBSD. At first I was tempted to change the expected
to a regexp with case insensitivity on the inf, but then I wondered:

The inf appears to be the output of 6/undef. Does the perl6 language mandate
that infinity is to appear as a specific case sensitive spelling?
[This may well be a perl6 language question]


Also, is the first of these a bug?

$ ./perl6 -e 'print 3/undef; print "\n"'
Can't call method "tree" on an undefined value at ./perl6 line 342.
$ ./perl6 -e 'print 3/$n; print "\n"'
Inf


Nicholas Clark

Reply via email to