You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<masak> m: my @a = -1, 2, -3; say [+] (.abs + .abs for @a)
<camelia> rakudo-moar 64a61a: OUTPUT«WARNINGS for /tmp/uySpvnhOVb:Useless use of "+" in expression ".abs + .abs" in sink context (line 1)12»
On Sat May 07 15:26:05 2016, smls75@gmail.com wrote:
No longer an issue with current Rakudo:
➜ my @​a = \-1, 2, \-3; say \[\+\] \(\.abs \+ \.abs for @​a\)
12
Not sure if a test is needed for this.
I'm not really sure, either. But since we have a bunch of tests for cases where we expect a warning, I went ahead and added a test for the absence of a warning to S32-exceptions/misc.t with commit Raku/roast@1804479bb2.
Migrated from rt.perl.org#127062 (status was 'resolved')
Searchable as RT127062$
The text was updated successfully, but these errors were encountered: