On Wed Jul 08 19:55:59 2009, s1n wrote: > (21:42:03) s1n: rakudo: warn > (21:42:06) p6eval: rakudo 70bfd5: OUTPUT«Warning! Something's wrong.» > (21:42:10) s1n: hah > (21:42:25) TimToady: it shouldn't have a newline > (21:42:39) TimToady: Perl 5 would tell you the line number > > This probably should use the recently implemented annotations (see RT# > 53082). >
In latest Rakudo: C:\Consulting\rakudo>type test.p6 sub foo() { warn; } foo(); C:\Consulting\rakudo>perl6 test.p6 Warning at line 2:test.p6 Given to moritz++ for spectests, if appropriate. Thanks, Jonathan