On Wed Jun 30 07:48:56 2010, masak wrote: > <masak> rakudo: say "abcd".index("xyz") == 0 > <p6eval> rakudo aa015a: OUTPUT�Method 'Bridge' not found for invocant > of class 'Failure' [...] > <masak> arnsholt: possible issue :) > * masak submits rakudobug > <masak> rakudo: Failure == 0 > <p6eval> rakudo aa015a: OUTPUT�Method 'Bridge' not found for invocant > of class [...] > * masak is not sure he likes .Bridge :/ > > Might be that comparing Failure (or any non-numeric type object, for > that matter) with any number should give a warning or something, but > it should not give this error.
It now warns: 00:43 < [Coke]> rakudo: say "abcd".index("xyz") == 0 00:43 <+p6eval> rakudo cbdd9b: OUTPUT«Use of uninitialized value in numeric contextBool::True» -- Will "Coke" Coleda