question about t/operators/ternary.t

2007-06-20 Thread Patrick R. Michaud
Looking at t/operators/ternary.t... At the bottom of the file, there is a test that reads: { # This parses incorrectly because it's parsed as Bool::True(!! Bool::False). my $foo = eval q[ 1 ?? Bool::True !! Bool::False ]; is($foo, Bool::True, "a statement with both ??!! and :: in it d

Re: question about t/operators/ternary.t

2007-06-20 Thread Moritz Lenz
Patrick R. Michaud wrote: > Looking at t/operators/ternary.t... > > At the bottom of the file, there is a test that reads: > > { > # This parses incorrectly because it's parsed as Bool::True(!! > Bool::False). > my $foo = eval q[ 1 ?? Bool::True !! Bool::False ]; > is($foo, Bool::Tru

Re: question about t/operators/ternary.t

2007-06-20 Thread Moritz Lenz
Patrick R. Michaud wrote: > Looking at t/operators/ternary.t... > > At the bottom of the file, there is a test that reads: > > { > # This parses incorrectly because it's parsed as Bool::True(!! > Bool::False). > my $foo = eval q[ 1 ?? Bool::True !! Bool::False ]; > is($foo, Bool::Tru

Re: question about t/operators/ternary.t

2007-06-20 Thread chromatic
On Wednesday 20 June 2007 15:53:59 Moritz Lenz wrote: > Basically I think that > - we need the test somewhere and > - it is not a test that one would usually write unless he/she found a > regression in one implementation. > > Therefore it would be good to have them somewhere separately, in an > im

Re: question about t/operators/ternary.t

2007-06-20 Thread Moritz Lenz
chromatic wrote: > On Wednesday 20 June 2007 15:53:59 Moritz Lenz wrote: > >> Basically I think that >> - we need the test somewhere and >> - it is not a test that one would usually write unless he/she found a >> regression in one implementation. >> >> Therefore it would be good to have them somew