On Sat, 13 Jan 2018 00:09:49 -0800, c...@zoffix.com wrote:
> On Fri, 14 Apr 2017 14:12:54 -0700, fernandocor...@gmail.com wrote:
> > Em Fri, 07 Apr 2017 19:59:42 -0700, c...@zoffix.com escreveu:
> > >
> > > <Zoffix_> m: say so 42 ~~ { try $_ == 5 }
> > > <camelia> rakudo-moar af50e0: OUTPUT: «WARNINGS for <tmp>:␤Useless
> > > use
> > > of "==" in expression "$_ == 5" in sink context (line 1)␤False␤»
> > >
> > > <Zoffix_> m: say so 42 ~~ { $_ == 5 }
> > > <camelia> rakudo-moar af50e0: OUTPUT: «False␤»
> > 
> > 
> > I think the problem is only with block + try...
> > 
> > <SmokeMachine> m: say {try 5 == 5}()
> > <camelia> combined, experimental evalbot rakudo-moar 7f73f9: OUTPUT:
> > «WARNINGS for <tmp>:␤Useless use of "==" in expression "5 == 5" in
> > sink context (line 1)␤True␤»
> 
> 
> Thank you for the report. This is now fixed.
> 
> Fix:  https://github.com/rakudo/rakudo/commit/728acf597cf31fb
> Test: https://github.com/rakudo/rakudo/commit/728acf597cf31fb


Correction:

Fix:  https://github.com/rakudo/rakudo/commit/ef2dc1b8ba7d45b
Test: https://github.com/rakudo/rakudo/commit/ef2dc1b8ba7d45b

Reply via email to