#1965: rational.pmc's get_bool is backwards and not portable
----------------------+-----------------------------------------------------
 Reporter:  doughera  |       Owner:        
     Type:  bug       |      Status:  new   
 Priority:  normal    |   Milestone:        
Component:  none      |     Version:  2.11.0
 Severity:  medium    |    Keywords:        
     Lang:            |       Patch:  new   
 Platform:            |  
----------------------+-----------------------------------------------------

Comment(by whiteknight):

 I agree with plobsing here. There's no real reason to treat a rational as
 a boolean. I don't think asking a Rational for it's status as a boolean
 really carries any meaning, and I don't think users are going to have any
 particular expectation for it.

 I say we rip that VTABLE out, and replace the test to verify that the
 rational is not null or something else.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1965#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to