On Thu Jun 17 08:47:54 2010, masak wrote: > <ash__> 5 but 'string' is the same as 5 but (role { method Str() { > 'string'} }), 5 but True is 5 but (role { method Bool() { True } }) > <colomon> rakudo: say ('foo' but 5) ~~ Real > <p6eval> rakudo 17e43e: OUTPUT«0» > <colomon> rakudo: say ('foo' but Real) ~~ Real > <p6eval> rakudo 17e43e: OUTPUT«1» > <masak> rakudo: say 5 ~~ Real > <p6eval> rakudo 17e43e: OUTPUT«1» > <colomon> rakudo: say ('foo' but 5.0) ~~ Real > <p6eval> rakudo 17e43e: OUTPUT«0» > * masak submits rakudobug
No, that's correct. You mixed in an anonymous role that just adds a Rat method in the last example. This doesn't mean Real was mixed in at any point. So, rejecting. Thanks, Jonathan