Re: Reason for attributes.t fail

2008-08-07 Thread Will Coleda
On Thu, Aug 7, 2008 at 12:51 PM, Jonathan Worthington <[EMAIL PROTECTED]> wrote: > jerry gay wrote: >> >> seems to me this is trying to test whether there's a defined value in >> $!. > > Testing truth falls back to definedness, yes. > >> however, you've jumped straight into blaming parrot's Excepti

Re: Reason for attributes.t fail

2008-08-07 Thread Jonathan Worthington
jerry gay wrote: seems to me this is trying to test whether there's a defined value in $!. Testing truth falls back to definedness, yes. however, you've jumped straight into blaming parrot's Exception PMC, without considering the expected perl 6 behavior. Well, I was more blaming the *chan

Re: Reason for attributes.t fail

2008-08-07 Thread Jonathan Worthington
Allison Randal wrote: The Exception PMC never had a get_bool vtable function implemented, but it did previously inherit one from ResizablePMCArray. So, that test was relying on an implementation artifact. OK, then that was certainly a wart, agreed. Under what circumstances should an exceptio

Re: Reason for attributes.t fail

2008-08-07 Thread jerry gay
On Thu, Aug 7, 2008 at 3:26 AM, Jonathan Worthington <[EMAIL PROTECTED]> wrote: > Hi, > > Rakudo is currently failing t\spec\S12-class\attributes.t. This turns out > not to be an issue with attributes, but rather exceptions. The test does: > > my $c = Counter.new(); > try { > $c.x > } > ok($!, 'n

Re: Reason for attributes.t fail

2008-08-07 Thread Allison Randal
Jonathan Worthington wrote: Hi, Rakudo is currently failing t\spec\S12-class\attributes.t. This turns out not to be an issue with attributes, but rather exceptions. The test does: my $c = Counter.new(); try { $c.x } ok($!, 'no public accessor for private attribute'); And fails because th

Reason for attributes.t fail

2008-08-07 Thread Jonathan Worthington
Hi, Rakudo is currently failing t\spec\S12-class\attributes.t. This turns out not to be an issue with attributes, but rather exceptions. The test does: my $c = Counter.new(); try { $c.x } ok($!, 'no public accessor for private attribute'); And fails because the Exception PMC does not impl