perl.perl6.compiler http://www.nntp.perl.org/group/perl.perl6.compiler/ [perl #118541] $ context specifier by Patrick R. Michaud via RT

From: Patrick R. Michaud via RT The wikibooks example is wrong, Rakudo is correct here.


(To return the number of elements, use prefix:<+>, not the $-
contextualizer.)

Actually, that whole section in wikibooks seems to be a little "off"...
"@()" doesn't mean "convert to array", for example.

Closing ticket.

Pm

2013-06-19T15:24:42Z
[perl #76266] [TODO] Allow aliasing of $<foo><bar> inside regexes in Rakudo (nqp-rx) by Will Coleda via RT <p>From: Will Coleda via RT <br/><br/>On Tue Jun 29 06:34:35 2010, masak wrote:<br/>&gt; &lt;masak&gt; std: / $&lt;foo&gt; = [ foo ] /<br/>&gt; &lt;p6eval&gt; std 31503: OUTPUT&Acirc;&laquo;ok 00:01 113m&acirc;&#144;&curren;&Acirc;&raquo;<br/>&gt; &lt;masak&gt; std: / $&lt;foo&gt;&lt;bar&gt; = [ foo ] /<br/>&gt; &lt;p6eval&gt; std 31503: OUTPUT&Acirc;&laquo;ok 00:01 110m&acirc;&#144;&curren;&Acirc;&raquo;<br/>&gt; &lt;masak&gt; rakudo: &quot;foo&quot; ~~ / $&lt;foo&gt;&lt;bar&gt; = [ foo ] /; say $&lt;foo&gt;&lt;bar&gt;<br/>&gt; &lt;p6eval&gt; rakudo 1576d4: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Confused at line 11, near<br/>&gt; &quot;\&quot;foo\&quot; ~~ /&quot;&acirc;&#144;&curren;&Acirc;&raquo;<br/>&gt; &lt;masak&gt; but it&#39;s spec&#39;d?<br/>&gt; &lt;pmichaud&gt; I suspect it is.<br/>&gt; &lt;masak&gt; ok.<br/>&gt; &lt;moritz_&gt; don&#39;t think it&#39;s specced for the nested case<br/>&gt; * masak submits rakudobug<br/>&gt; &lt;masak&gt; moritz_: STD parses it, at least.<br/>&gt; &lt;masak&gt; so it&#39;s some sort of spec.<br/>&gt; <br/>&gt; Again, this is probably an nqp-rx thing rather than a Rakudo thing,<br/>&gt; but there&#39;s no place to send nqp-rx-bugs. :)<br/><br/>Old ticket, esp. given the nqp-rx reference. The behavior in rakudo now matches the behavior <br/>in STD:<br/><br/>08:54 &lt; [Coke]&gt; rakudo: &quot;foo&quot; ~~ / $&lt;foo&gt;&lt;bar&gt; = [ foo ] /; say $&lt;foo&gt;&lt;bar&gt;<br/> #76266<br/>08:54 &lt;+camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Unrecognized regex<br/> metacharacter = (must be quoted to match literally)&acirc;&#144;&curren;at<br/> /tmp/e83OQ1Z2oA:1&acirc;&#144;&curren;------&gt; &quot;foo&quot; ~~ / $&lt;foo&gt;&lt;bar&gt; &acirc;&#143;&#143;= [ foo ] /;<br/> say $&lt;foo&gt;&lt;bar&gt; #76266&acirc;&#144;&curren;Unable to parse regex; couldn&#39;t find<br/> final &#39;/&#39;&acirc;&#144;&curren;at /tmp/&acirc;&#128;&brvbar;<br/>08:55 &lt; [Coke]&gt; std: &quot;foo&quot; ~~ / $&lt;foo&gt;&lt;bar&gt; = [ foo ] /; say $&lt;foo&gt;&lt;bar&gt; #76266<br/>08:55 &lt;+camelia&gt; std d4cc5ab: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Unrecognized regex<br/> metacharacter = (must be quoted to match literally) at<br/> /tmp/WaZTcGIrM8 line 1:&acirc;&#144;&curren;------&gt; &quot;foo&quot; ~~ / $&lt;foo&gt;&lt;bar&gt; =&acirc;&#143;&#143; [<br/> foo ] /; say $&lt;foo&gt;&lt;bar&gt; #76266&acirc;&#144;&curren;Unable to parse regex;<br/> couldn&#39;t find final &#39;/&#39; at /&acirc;&#128;&brvbar;<br/><br/>Ticket is closable with tests.<br/><br/>-- <br/>Will &quot;Coke&quot; Coleda<br/></p> 2013-06-19T12:56:57Z Re: [perl #118519] ▁ ▂ ▃ ▄ ▅ "▆ ▇ █␤, alas no" by Patrick R. Michaud <p>From: Patrick R. Michaud &gt; 23:45:53] &lt;TimToady&gt; nr: say &#39;&#x2581;&#39; ... &#39;&#x2588;&#39;<br/>&gt; [23:46:07] &lt;+camelia&gt; rakudo b2072f: OUTPUT&laquo;(timeout)&raquo;<br/><br/>Now fixed in af50a6e:<br/><br/> &gt; say &#39;&#x2581;&#39; ... &#39;&#x2588;&#39;<br/> &#x2581; &#x2582; &#x2583; &#x2584; &#x2585; &#x2586; &#x2587; &#x2588;<br/><br/>Closable with tests.<br/><br/>Pm<br/><br/></p> 2013-06-18T00:17:18Z [perl #118519] ▁ ▂ ▃ ▄ ▅ "▆ ▇ █␤, alas no" by Elizabeth Mattijsen <p>From: Elizabeth Mattijsen # New Ticket Created by Elizabeth Mattijsen <br/># Please include the string: [perl #118519]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118519 &gt;<br/><br/><br/>23:45:53] &lt;TimToady&gt; nr: say &#39;&acirc;&#150;&#129;&#39; ... &#39;&acirc;&#150;&#136;&#39;<br/>[23:46:07] &lt;+camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;(timeout)&Acirc;&raquo;<br/>[23:46:07] &lt;+camelia&gt; ..niecza v24-77-g2b14288: OUTPUT&Acirc;&laquo;&acirc;&#150;&#129; &acirc;&#150;&#130; &acirc;&#150;&#131; &acirc;&#150;&#132; &acirc;&#150;&#133; &acirc;&#150;&#134; &acirc;&#150;&#135; &acirc;&#150;&#136;&acirc;&#144;&curren;&Acirc;&raquo;<br/>[23:46:17] &lt;TimToady&gt; rakudobug<br/>[23:46:36] lizmat submits rakudobug<br/></p> 2013-06-17T21:47:59Z [perl #118501] say EXPORT::ALL causes Null PMC access by Dagur

From: Dagur # New Ticket Created by Dagur
# Please include the string: [perl #118501]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118501 >


$ perl6
> sub a is export { 'a' }
sub a() { ... }
> say EXPORT::ALL
Error while compiling block (source text: "say EXPORT::ALL\n"): Error
while compiling op call: Error while compiling block : Error while
compiling op call (source text: "say EXPORT::ALL\n"): Null PMC access in
find_method('handle')

$ perl6 --version
This is perl6 version 2013.05-251-gd3ae978 built on parrot 5.2.0 revision
RELEASE_5_2_0

2013-06-16T23:11:03Z
[perl #118505] Null PMC access when declaring constant for export twice by Dagur

From: Dagur # New Ticket Created by Dagur
# Please include the string: [perl #118505]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118505 >


> constant %a is export = 5 => 5
5 => 5
> constant %a is export = 5 => 5
Null PMC access in get_string()


On a related note, it's possible to re-declare constants. Not sure if
that's a bug or not.
> constant %b = 1 => 1
1 => 1
> constant %b = 1 => 2
1 => 2

2013-06-16T23:10:56Z
[perl #118479] Untyped hashes are considered to be {Str}, but act differently from hashes typed with {Str} by Patrick R. Michaud via RT

From: Patrick R. Michaud via RT > So either STORE_AT_KEY for typed hashes should stringify objects
> silently if the keytype is Str, like untyped hashes do. Or untyped
> hashes should *not* automatically stringify objects.

Untyped hashes are {Str(Any)} -- see S09:1187:

The standard Hash:
my %hash;
is really short for:
my Mu %hash{Str(Any)};

This accounts for the difference between the two; an untyped hash will
accept Any key and coerce it to a Str, while a hash declared {Str} will
only accept Str values as keys.

Closing ticket,

Pm

2013-06-14T14:49:08Z
[perl #118479] Untyped hashes are considered to be {Str}, but act differently from hashes typed with {Str} by Elizabeth Mattijsen <p>From: Elizabeth Mattijsen # New Ticket Created by Elizabeth Mattijsen <br/># Please include the string: [perl #118479]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118479 &gt;<br/><br/><br/>&lt;lizmat&gt; r: class A {}; my %h=A.new =&gt; 1; say %h; my %h2{Str}=A.new =&gt; 1; say %h2 # feels to me either both should fail, or both should work<br/>[14:25:12] &lt;+camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;(&quot;A&lt;-465252350&gt;&quot; =&gt; 1).hash&acirc;&#144;&curren;Nominal type check failed for parameter &#39;key&#39;; expected Str but got A instead&acirc;&#144;&curren; in method STORE_AT_KEY at src/gen/CORE.setting:7122&acirc;&#144;&curren; in method STORE at src/gen/CORE.setting:7018&acirc;&#144;&curren; in block at /tmp/Au8hPaHP4v:1&acirc;&#144;&curren;&acirc;&#144;&curren;&Acirc;&raquo;<br/><br/>So either STORE_AT_KEY for typed hashes should stringify objects silently if the keytype is Str, like untyped hashes do. Or untyped hashes should *not* automatically stringify objects.<br/><br/><br/>Although the latter seems to be a step away from the behaviour of Perl 5, it feels more logical in the Perl 6 context to me.<br/><br/>Maybe this should become a spec issue.<br/><br/><br/><br/>Liz<br/></p> 2013-06-14T12:39:10Z [perl #118467] [BUG] Required named occurring before slurpy wrongly considered a multi candidate in Rakduo by Carl Mäsak <p>From: Carl Mäsak # New Ticket Created by &quot;Carl M&Atilde;&curren;sak&quot; <br/># Please include the string: [perl #118467]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118467 &gt;<br/><br/><br/>&lt;masak&gt; rn: multi foo(:$d!, *@f) {}; multi foo(*@f) { say &quot;works&quot; }; foo() #OK<br/>&lt;camelia&gt; rakudo b2072f, niecza v24-75-g480a062: OUTPUT&Acirc;&laquo;works&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;masak&gt; rn: multi foo(*@f, :$d!) {}; multi foo(*@f) { say &quot;works&quot; }; foo() #OK<br/>&lt;camelia&gt; niecza v24-75-g480a062: OUTPUT&Acirc;&laquo;works&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;camelia&gt; ..rakudo b2072f: OUTPUT&Acirc;&laquo;Ambiguous call to &#39;foo&#39;; these<br/>signatures all match:&acirc;&#144;&curren;:(*@f, :d(:$d)!)&acirc;&#144;&curren;:(*@f) [...]&Acirc;&raquo;<br/>* masak submits rakudobug<br/><br/>Niecza has it right both times.<br/></p> 2013-06-13T11:28:00Z [perl #118453] [BUG] Reassigning to matched-against string and then accessing submatches can lead to substr errors because of binding against the scalar container in Rakudo by Carl Mäsak <p>From: Carl Mäsak # New Ticket Created by &quot;Carl M&Atilde;&curren;sak&quot; <br/># Please include the string: [perl #118453]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118453 &gt;<br/><br/><br/>&lt;masak&gt; ok, this is a fun one:<br/>&lt;masak&gt; rn: my $s = &#39;pre x post&#39;; $s ~~ /^ (&lt;-[x]&gt;+) &#39;x&#39; (\N+) $/; $s =<br/>~$0; say ~$1<br/>&lt;camelia&gt; niecza v24-75-g480a062: OUTPUT&Acirc;&laquo; post&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;camelia&gt; ..rakudo b2072f: OUTPUT&Acirc;&laquo;Start of substr out of range. Is: 5,<br/>should be in 0..4 [...]<br/>&lt;masak&gt; I&#39;m entirely with Niecza here.<br/>&lt;masak&gt; I think rakudo has... a bug. :)<br/>&lt;masak&gt; of course you should bind to the string itself, not to the scalar<br/>container that holds it.<br/>* masak submits rakudobug<br/>&lt;eternaleye&gt; masak: When you put that ellipsis in your earlier line, I<br/>heard a scare chord.<br/>&lt;eternaleye&gt; &quot;I think rakudo has... [DUNNNN] a bug&quot;<br/>&lt;eternaleye&gt; Complete with that gif of the gopher suddenly turning to the<br/>camera.<br/><br/></p> 2013-06-12T18:00:33Z [perl #118407] Importing sub using require causes Null PMC access by Dagur

From: Dagur # New Ticket Created by Dagur
# Please include the string: [perl #118407]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118407 >


> say slurp("/tmp/a.pm6")
sub abc() is export { say "hello" }

This works (given that it's NYI)
> require("/tmp/a.pm6") "&abc";
abc();
Trying to import symbols &abc from '/tmp/a.pm6', but it does not export
anything

Without the ampersand however,
> require("/tmp/a.pm6") "abc"; abc();
Error while compiling block (source text: "require(\"/tmp/a.pm6\")
\"abc\"; abc();\n"): Error while compiling op call: Error while compiling
block : Error while compiling op call: Null PMC access in
find_method('handle')

2013-06-10T21:20:36Z
[perl #118373] RE: Problem with Perl website? by Sid Q. <p>From: Sid Q. # New Ticket Created by &quot;Sid Q.&quot; <br/># Please include the string: [perl #118373]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118373 &gt;<br/><br/><br/>Hi There,<br/><br/>Hope you had a chance to look at the case study (http://blog.incentivibe.com/case-study)<br/>that I had sent you recently. We received a tremendous positive response from<br/>people, and now we are being asked the question, &acirc;&#128;&#156;How do I make 3 to 7 times<br/>more leads for my online business?&acirc;&#128;&#157;<br/><br/>Incentivibe was actually responsible for those results. We at Incentivibe help<br/>businesses offer big contest prizes (e.g. $500 Visa Gift Card) for a fraction<br/>of the prize cost (e.g. $24.99) via its cost-sharing program that pools<br/>businesses together so they can share the cost of the big prize with other<br/>businesses.<br/><br/>You can find more information, read our client testimonials, and get started on<br/>getting 3 to 7 times more leads yourself by visiting www.incentivibe.com.<br/><br/><br/>All the Best,<br/><br/>Sid<br/><br/>118566<br/><br/>Hey,<br/><br/>I just came across your website. It looks pretty good, but you&acirc;&#128;&#153;re losing a lot<br/>of potential email subscribers and fans. You can get at least 50% more email<br/>subscribers and fans from your daily online visitors.<br/><br/>This research infographic www.incentivibe.com/case_study tells you how to get<br/>more subscribers and fans. It was published on a world renowned marketing<br/>journal. I hope it helps.<br/><br/>Good Luck.<br/><br/><br/>Sid Q.<br/><br/></p> 2013-06-10T21:20:31Z [perl #76808] Searching for libraries under MacOS X by Brian Wisti via RT

From: Brian Wisti via RT On Thu Jul 29 09:30:31 2010, ambs wrote:
> Hello.
>
> Under Mac OS X, if installing rakudo (star) under /opt/rakudo, for
> instance, and after adding it to the PATH, we get:
>
> [ambs@rachmaninoff ~]$ perl6
> dyld: Library not loaded:
> /Users/ambs/tmp/rakudo-star-2010.07/parrot-
2.6.0/blib/lib/libparrot.dylib
> Referenced from: /opt/rakudo/bin/perl6
> Reason: image not found
> Trace/BPT trap
>
> This is easily solved adding /opt/rakudo/lib to the
> DYLD_FALLBACK_LIBRARY_PATH.
>
> But it would be great if rakudo could take care of referring the
> libraries in their destination path.
>
> Unfortunately I am not aware how this can be done, but I would love
to.
>
> All the best
> Alberto

I know this is an older ticket, but I noticed it while scrubbing through
the bug list.

FWIW, I do not see this issue with Rakudo Star 2013.05 on OS X 10.8.

$ perl Configure.pl --prefix=/opt/rakudo --gen-parrot
$ make && make rakudo-test && sudo make install
$ /opt/rakudo/bin/perl6
> "Hello".say
Hello

I can't vouch for other versions of Rakudo or other versions of OS X.

2013-06-10T21:20:20Z
[perl #77504] [BUG] LTA Failure error message when hash-indexing a non-hash (using either .<> or .{}) in Rakudo by Will Coleda via RT <p>From: Will Coleda via RT On Sun Aug 29 17:27:23 2010, masak wrote:<br/>&gt; masak (&gt;):<br/>&gt; &gt; The error message is highly confusing. There&#39;s no such thing as<br/>&gt; &gt; postcircumfix:&lt;Nil()&gt;. In fact, that looks like an interpolation<br/>&gt; gone<br/>&gt; &gt; wrong somewhere. The error message should probably have read<br/>&gt; &gt; &#39;postcircumfix:&lt;&lt; &lt; &gt; &gt;&gt; not defined for type Array()&#39; or something.<br/>&gt; <br/>&gt; &lt;pmichaud&gt; a-ha!<br/>&gt; &lt;pmichaud&gt; it&#39;s returning a Failure... that&#39;s good.<br/>&gt; &lt;pmichaud&gt; it&#39;s just the error that is lta<br/>&gt; &lt;pmichaud&gt; looking<br/>&gt; &lt;pmichaud&gt; heh<br/>&gt; &lt;pmichaud&gt; fail &quot;postcircumfix:&lt;{ }&gt; not defined for type<br/>&gt; {self.WHAT}&quot;<br/>&gt; &lt;pmichaud&gt; if self.defined;<br/>&gt; &lt;pmichaud&gt; fail FAIL<br/>&gt; &lt;pmichaud&gt; the curlies are being interpolated.<br/>&gt; &lt;pmichaud&gt; (the first ones)<br/>&gt; &lt;colomon&gt; doh!<br/>&gt; &lt;masak&gt; :D<br/>&gt; &lt;masak&gt; that explains everything.<br/>&gt; * masak amends the ticket<br/>&gt; &lt;pmichaud&gt; if someone wants to fix it to escape the curlies, that<br/>&gt; would be awesome. :-)<br/><br/>Updated behavior looks A enough:<br/><br/>09:17 &lt; [Coke]&gt; rakudo: ~[]&lt;c&gt;<br/>09:17 &lt;+camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;postcircumfix:&lt;{ }&gt; not defined for type<br/> Array&acirc;&#144;&curren; in method Str at src/gen/CORE.setting:10160&acirc;&#144;&curren; in<br/> method Str at src/gen/CORE.setting:876&acirc;&#144;&curren; in method Stringy at<br/> src/gen/CORE.setting:885&acirc;&#144;&curren; in sub prefix:&lt;~&gt; at<br/> src/gen/CORE.setting:1272&acirc;&#144;&curren; in sub prefix:&lt;~&gt; at src/gen/&acirc;&#128;&brvbar;<br/>09:17 &lt; [Coke]&gt; rakudo: ~5&lt;c&gt;<br/>09:17 &lt;+camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;postcircumfix:&lt;{ }&gt; not defined for type<br/> Int&acirc;&#144;&curren; in method Str at src/gen/CORE.setting:10160&acirc;&#144;&curren; in method<br/> Str at src/gen/CORE.setting:876&acirc;&#144;&curren; in method Stringy at<br/> src/gen/CORE.setting:885&acirc;&#144;&curren; in sub prefix:&lt;~&gt; at<br/> src/gen/CORE.setting:1272&acirc;&#144;&curren; in sub prefix:&lt;~&gt; at src/gen/CO&acirc;&#128;&brvbar;<br/>09:17 &lt; [Coke]&gt; rakudo: ~5{&#39;c&#39;}<br/>09:17 &lt;+camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;postcircumfix:&lt;{ }&gt; not defined for type<br/> Int&acirc;&#144;&curren; in method Str at src/gen/CORE.setting:10160&acirc;&#144;&curren; in method<br/> Str at src/gen/CORE.setting:876&acirc;&#144;&curren; in method Stringy at<br/> src/gen/CORE.setting:885&acirc;&#144;&curren; in sub prefix:&lt;~&gt; at<br/> src/gen/CORE.setting:1272&acirc;&#144;&curren; in sub prefix:&lt;~&gt; at src/gen/CO&acirc;&#128;&brvbar;<br/><br/>Closable with tests.<br/>-- <br/>Will &quot;Coke&quot; Coleda<br/></p> 2013-06-10T13:18:31Z [perl #77270] [BUG] LTA error message when misspelling type names in signatures in Rakudo by Will Coleda via RT <p>From: Will Coleda via RT On Tue Aug 17 05:38:17 2010, masak wrote:<br/>&gt; &lt;masak&gt; rakudo: sub foo(--&gt; NoSuchType) { say &quot;OH HAI&quot; }<br/>&gt; &lt;p6eval&gt; rakudo b64718: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Unable to parse<br/>&gt; postcircumfix:sym&lt;( )&gt;, couldn&#39;t find final &#39;)&#39; [...]<br/>&gt; &lt;masak&gt; rakudo: class A { method foo(--&gt; NoSuchType) { say &quot;OH HAI&quot; } }<br/>&gt; &lt;p6eval&gt; rakudo b64718: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Malformed method at line<br/>&gt; 22, near &quot;foo(--&gt; No&quot;&acirc;&#144;&curren;&Acirc;&raquo;<br/>&gt; &lt;masak&gt; both these error messages could be improved to indicate the<br/>&gt; actual problem.<br/>&gt; &lt;moritz_&gt; agreed<br/>&gt; * masak submits rakudobug<br/>&gt; &lt;masak&gt; std: sub foo(--&gt; NoSuchType) { say &quot;OH HAI&quot; }<br/>&gt; &lt;p6eval&gt; std 32024: OUTPUT&Acirc;&laquo;&#27;[31m===&#27;[0mSORRY!&#27;[31m===&#27;[0m&acirc;&#144;&curren;No type<br/>&gt; found after --&gt; [...]<br/>&gt; &lt;masak&gt; std: class A { method foo(--&gt; NoSuchType) { say &quot;OH HAI&quot; } }<br/>&gt; &lt;p6eval&gt; std 32024: OUTPUT&Acirc;&laquo;&#27;[31m===&#27;[0mSORRY!&#27;[31m===&#27;[0m&acirc;&#144;&curren;No type<br/>&gt; found after --&gt; [...]<br/>&gt; &lt;masak&gt; &#39;No type found&#39; isn&#39;t spot on either, but it&#39;s much better.<br/><br/>Current behavior:<br/><br/>09:14 &lt; [Coke]&gt; rakudo: sub foo(--&gt; NoSuchType) { say &quot;OH HAI&quot; } # RT 77270<br/>09:14 &lt;+camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Type &#39;NoSuchType&#39; is not<br/> declared&acirc;&#144;&curren;at /tmp/uAYz4pTVgd:1&acirc;&#144;&curren;------&gt; sub foo(--&gt; NoSuchType&acirc;&#143;&#143;)<br/> { say &quot;OH HAI&quot; } # RT 77270&acirc;&#144;&curren;&Acirc;&raquo;<br/><br/>Closable with tests.<br/>-- <br/>Will &quot;Coke&quot; Coleda<br/></p> 2013-06-10T13:15:25Z [perl #105004] One can derive from Whatever in contradiction with S04 by Will Coleda via RT

From: Will Coleda via RT On Wed Nov 30 10:47:25 2011, cognominal wrote:
> S04:1292 3c53f87 say "The C<Whatever> type is derived from C<Any> but
> nothing elseis derived from it."I infer from it that deriving from it
> should result in an error. This is not the case.
>
> > class A is Whatever { }
>
> A()
>

i disagree that saying nothing else derives from it means that nothing else CAN derive from it.

14:00 < jnthn> [Coke]: agree

Rejecting ticket.

--
Will "Coke" Coleda

2013-06-10T03:17:19Z
[perl #118397] [BUG] array binding causes failures to be thrown by Brent Laabs <p>From: Brent Laabs # New Ticket Created by Brent Laabs <br/># Please include the string: [perl #118397]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118397 &gt;<br/><br/><br/>labster: r: sub foo { X::IO::Dir.new(path=&gt;&#39;a&#39;, os-error=&gt;&#39;b&#39;).fail }; my<br/>@a = foo(); 1;<br/>camelia: rakudo b2072f: ( no output )<br/>labster: r: sub foo { X::IO::Dir.new(path=&gt;&#39;a&#39;, os-error=&gt;&#39;b&#39;).fail }; my<br/>@a := foo(); 1;<br/>camelia: rakudo b2072f: OUTPUT&Acirc;&laquo;Failed to get the directory contents of &#39;a&#39;:<br/>b&acirc;&#144;&curren; in method sink at src/gen/CORE.setting:10169&acirc;&#144;&curren; in method BUILDALL at<br/>src/gen/CORE.setting:801&acirc;&#144;&curren; in method bless at src/gen/CORE.setting:743&acirc;&#144;&curren; in<br/>method new at src/gen/CORE.setting:728&acirc;&#144;&curren; in method new at src/gen/CORE.&acirc;&#128;&brvbar;<br/>labster: r: sub foo { X::IO::Dir.new(path=&gt;&#39;a&#39;, os-error=&gt;&#39;b&#39;).fail }; my<br/>$a := foo(); 1;<br/>camelia: rakudo b2072f: ( no output )<br/><br/>Unless someone tells me this is not a bug -- but it seems like this would<br/>be the correct approach when loading a lazy list.<br/><br/></p> 2013-06-09T21:42:11Z [perl #93988] [BUG] LTA error for number ending in a dot in Rakudo by Will Coleda via RT <p>From: Will Coleda via RT On Sun Jul 03 14:35:03 2011, masak wrote:<br/>&gt; &lt;TimToady&gt; std: 5.<br/>&gt; &lt;p6eval&gt; std 37a0cdd: OUTPUT&Acirc;&laquo;&#27;[31m===&#27;[0mSORRY!&#27;[31m===&#27;[0m&acirc;&#144;&curren;Decimal<br/>&gt; point must be followed by digit [...]<br/>&gt; &lt;moritz&gt; rakudo: 5.<br/>&gt; &lt;p6eval&gt; rakudo 72d158: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Confused at line 22, near &quot;5.&quot;&acirc;&#144;&curren;&Acirc;&raquo;<br/>&gt; &lt;moritz&gt; LTA error<br/>&gt; &lt;masak&gt; lol, rakudo u so confusd<br/>&gt; * masak submits rakudobug<br/><br/>Rakudo&#39;s behavior has changed, but it depends on how you invoke it:<br/><br/>13:04 &lt; [Coke]&gt; r: 5.<br/>13:04 &lt;+camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Confused&acirc;&#144;&curren;at<br/> /tmp/ogJuVhXpa8:1&acirc;&#144;&curren;------&gt; 5.&acirc;&#143;&#143;&lt;EOL&gt;&acirc;&#144;&curren; expecting any of:&acirc;&#144;&curren;<br/> dotty method or postfix&acirc;&#144;&curren;&Acirc;&raquo;<br/><br/>./perl6 --version<br/>This is perl6 version 2013.05-224-g3f49bbd built on parrot 5.2.0 revision RELEASE_5_2_0<br/><br/>./perl6 -e &#39;5.&#39;<br/>===SORRY!===<br/>Confused<br/>at -e:1<br/>------&gt; 5.&acirc;&#143;&#143;&lt;EOL&gt;<br/> expecting any of:<br/> dotty method or postfix<br/><br/>./perl6<br/>&gt; 5.<br/>===SORRY!===<br/>Decimal point must be followed by digit<br/>at &lt;unknown file&gt;:1<br/>------&gt; 5.&acirc;&#143;&#143;&lt;EOL&gt;<br/>Decimal point must be followed by digit<br/>at &lt;unknown file&gt;:1<br/>------&gt; 5.&acirc;&#143;&#143;&lt;EOL&gt;<br/>Unsupported use of . to concatenate strings; in Perl 6 please use ~<br/>at &lt;unknown file&gt;:2<br/>------&gt; &lt;BOL&gt;&acirc;&#143;&#143;&lt;EOL&gt;<br/><br/><br/>Looks like we get it right in the REPL, but no where else.<br/><br/>-- <br/>Will &quot;Coke&quot; Coleda<br/></p> 2013-06-09T17:06:16Z [perl #112344] [BUG] Variable return types cause an error by Will Coleda via RT

From: Will Coleda via RT On Sun Apr 08 08:03:22 2012, spidermario@free.fr wrote:
> With Rakudo 2012.03-53-g119fe3b (commit
> 119fe3b5b85fe680aa1a7ea29042a5714e63a402), the following code fails:
>
> sub id(Any ::T $x) returns T {
> $x
> }
>
> say id 42;
>
> with the following error message:
>
> Type check failed for return value
> in sub id at testcase.pl:1
> in block <anon> at testcase.pl:5
>
> ::T correctly contains Int, though.

Current behavior:

$ cat a.pm
sub id(Any ::T $x) returns T {
$x
}

say id 42;

$ ./perl6 a.pm
Cannot type check against type variable T
in any type_check at src/gen/Metamodel.nqp:305
in sub id at a.pm:2
in block at a.pm:5


--
Will "Coke" Coleda

2013-06-09T16:48:29Z
[perl #77820] [BUG] NaN.Rat by Will Coleda via RT <p>From: Will Coleda via RT On Tue Jan 10 17:21:33 2012, coke wrote:<br/>&gt; On Mon Sep 13 01:34:32 2010, jaleto@gmail.com wrote:<br/>&gt; &gt; Howdy,<br/>&gt; &gt;<br/>&gt; &gt; $ git rev-parse HEAD<br/>&gt; &gt; 9993bb24d7d109485fe78a6afd463671912c6960<br/>&gt; &gt; $ ./perl6<br/>&gt; &gt; &gt; NaN.Rat<br/>&gt; &gt; -9.22337203685478e+18<br/>&gt; &gt;<br/>&gt; &gt; I already added a fudged test to roast.git for this:<br/>&gt; &gt;<br/>&gt; &gt;<br/>&gt; http://github.com/perl6/roast/commit/2f690f94accf8f591a35bbadd339fe4d82ad012d<br/>&gt; &gt;<br/>&gt; &gt; Duke<br/>&gt; &gt;<br/>&gt; <br/>&gt; New failure mode:<br/>&gt; 20:20 &lt; [Coke]&gt; rakudo: NaN.Rat<br/>&gt; 20:21 &lt;+p6eval&gt; rakudo 38165a: OUTPUT&iuml;&iquest;&frac12;(timeout)&iuml;&iquest;&frac12;<br/>&gt; <br/><br/>NaN.Rat now returns NaN - test unfudged, closing ticket.<br/><br/><br/><br/>-- <br/>Will &quot;Coke&quot; Coleda<br/></p> 2013-06-09T16:30:34Z [perl #118141] [BUG] 'first' should return Nil (not Failure) when reaching end of list in Rakudo by Will Coleda via RT <p>From: Will Coleda via RT On Thu May 23 09:00:57 2013, masak wrote:<br/>&gt; &lt;TimToady&gt; nr: say first * &gt; 5, 1..3<br/>&gt; &lt;camelia&gt; rakudo a50c2e: OUTPUT&Acirc;&laquo;No values matched&acirc;&#144;&curren; in method gist<br/>&gt; [...]<br/>&gt; &lt;camelia&gt; ..niecza v24-51-g009f999: OUTPUT&Acirc;&laquo;Nil&acirc;&#144;&curren;&Acirc;&raquo;<br/>&gt; &lt;TimToady&gt; rakudobug :)<br/>&gt; &lt;masak&gt; the spec doesn&#39;t say what to do in this situation.<br/>&gt; &lt;TimToady&gt; yes it does :)<br/>&gt; &lt;masak&gt; TimToady: where?<br/>&gt; &lt;masak&gt; I went to S32/Containers and looked for &#39;first&#39; there.<br/>&gt; &lt;masak&gt; maybe I looked in the wrong place?<br/>&gt; &lt;TimToady&gt; did you git pull?<br/>&gt; * masak does so now<br/>&gt; <br/>&gt; &lt;https://github.com/perl6/specs/commit/381e96a2d7edcf745f160644297f4ee924a1a405&gt;<br/>&gt; <br/>&gt; * masak submits rakudobug<br/><br/>Fixed.<br/><br/>Can be closed with tests.<br/><br/>-- <br/>Will &quot;Coke&quot; Coleda<br/></p> 2013-06-09T15:41:15Z [perl #118389] [BUG] Cannot use constants with heredocs in Rakudo by Carl Mäsak <p>From: Carl Mäsak # New Ticket Created by &quot;Carl M&Atilde;&curren;sak&quot; <br/># Please include the string: [perl #118389]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118389 &gt;<br/><br/><br/>&lt;masak&gt; r: constant FOO = q:to /EOF/;&acirc;&#144;&curren; OH HAI&acirc;&#144;&curren; EOF&acirc;&#144;&curren;&acirc;&#144;&curren;say FOO<br/>&lt;camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Premature heredoc consumption&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;masak&gt; what in the world does &quot;Premature heredoc consumption&quot; mean? :(<br/>&lt;masak&gt; is it unreasonable to want to put a heredoc string in a<br/>constant? I don&#39;t think so.<br/>&lt;jnthn&gt; masak: It means that constants are evaluated immediately<br/>&lt;jnthn&gt; masak: It&#39;s the BEGIN block / heredoc thing in disguise.<br/>&lt;masak&gt; jnthn: I fail to understand. I know that constants evaluate<br/>immediately. but my heredocs are constant; they aren&#39;t qq strings,<br/>they&#39;re q strings.<br/>&lt;jnthn&gt; masak: The problem being that expression after the = up to the<br/>; is evaluated right away at statement end<br/>&lt;jnthn&gt; masak: The heredoc itself hasn&#39;t been parsed at that point.<br/>&lt;masak&gt; ah.<br/>&lt;jnthn&gt; r: BEGIN say q:to /EOF/;&acirc;&#144;&curren; OH HAI&acirc;&#144;&curren; EOF&acirc;&#144;&curren;&acirc;&#144;&curren;say FOO<br/>&lt;camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Premature heredoc consumption&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;jnthn&gt; Same as there.<br/>&lt;masak&gt; I understand now.<br/>&lt;masak&gt; still dissatisfied with that semantics.<br/>&lt;jnthn&gt; Well, not sure what we can do about it.<br/>&lt;jnthn&gt; Given<br/>&lt;jnthn&gt; r: (BEGIN say q:to /EOF/; say 42)&acirc;&#144;&curren; OH HAI&acirc;&#144;&curren; EOF&acirc;&#144;&curren;&acirc;&#144;&curren;say FOO<br/>&lt;camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Premature heredoc consumption&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;jnthn&gt; There the BEGIN isn&#39;t even a top-level statement.<br/>&lt;masak&gt; feels like Perl 6 isn&#39;t doing enough for me :)<br/>&lt;masak&gt; we know that there is *going* to be a string there, in a very<br/>short while.<br/>&lt;jnthn&gt; Well, feel free to play with it to see if you can work out a<br/>sane way to make it work<br/>* jnthn isn&#39;t sure how<br/>&lt;masak&gt; oki. gotcha.<br/>&lt;jnthn&gt; I mean, I&#39;d be happy enough with it working. I just don&#39;t see<br/>how to get there.<br/>&lt;masak&gt; yeah, I&#39;m not saying it&#39;s an easy problem to solve. I&#39;m saying<br/>it feels like it could work.<br/>* masak submits rakudobug<br/></p> 2013-06-09T15:15:58Z [perl #118387] [BUG] LEAVE doesn't trigger when an exception is thrown by Tadeusz Sośnierz <p>From: Tadeusz Sośnierz # New Ticket Created by Tadeusz So&Aring;&#155;nierz <br/># Please include the string: [perl #118387]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118387 &gt;<br/><br/><br/>S04 says:<br/><br/>LEAVE {...} [executes] at every block exit time (even stack unwinds from <br/>exceptions)<br/><br/>Running perl6 version 2013.05-15-gcd5ca7c built on parrot 5.2.0 revision <br/>RELEASE_5_2_0:<br/><br/> &gt; sub foo { LEAVE { say &quot;OK&quot; }; die &quot;died&quot; }; foo()<br/>died<br/><br/>According to the spec, this should also say OK<br/></p> 2013-06-09T12:08:34Z [perl #108968] SEGV: my $x = :(Int); $x.^methods>>.say by Will Coleda via RT

From: Will Coleda via RT On Mon Oct 01 04:30:56 2012, bbkr wrote:
> On 2012.09 Star it is:
>
> perl
> returns
> count
> Unmarshallable foreign language value passed for parameter 'obj'
> in method dispatch:<hyper> at src/gen/CORE.setting:936
> in block at -e:1

with the latest rakudo compiler, this now returns:

./perl6 -e 'my $x = :(Int); $x.^methods>>.say'
perl
returns
count
<anon>
<anon>
ACCEPTS
params
arity
<anon>
<anon>

Closable with tests.

--
Will "Coke" Coleda

2013-06-09T02:39:54Z
[perl #76930] [BUILD] space in prefix path by Will Coleda via RT

From: Will Coleda via RT On Thu Nov 15 19:25:59 2012, coke wrote:
> On Mon Aug 02 12:55:42 2010, moritz wrote:
> > FWIW, on my machine parrot doesn't even install with a space in the
> > prefix path:
> >
> > http://trac.parrot.org/parrot/ticket/1716
> >
> > I guess there's not much point in trying to tackle this issue until
> > parrot gets some sanity.
>
> This seems to now fail when running nqp:
>
> Command failed (status 512): /Users/coke/perl5/perlbrew/perls/perl-
> 5.16.0_THREAD/bin/perl
> Configure.pl --with-parrot=/tmp/a space/bin/parrot --make-install
>
> The argument to --with-parrot needs to be quoted.

I've updated parrot and nqp to better handle processing and passing quoting path arguments.

An update to rakudo-star that pulls the latest nqp & parrot's should handle this now.

Leaving open until R* is updated.

--
Will "Coke" Coleda

2013-06-09T01:37:58Z
[perl #118343] Problem with Perl website? by Sid Q. <p>From: Sid Q. # New Ticket Created by &quot;Sid Q.&quot; <br/># Please include the string: [perl #118343]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118343 &gt;<br/><br/><br/>Hey,<br/><br/>I just came across your website. It looks pretty good, but you&acirc;&#128;&#153;re losing a lot<br/>of potential email subscribers and fans. You can get at least 50% more email<br/>subscribers and fans from your daily online visitors.<br/><br/>This research infographic www.incentivibe.com/case_study tells you how to get<br/>more subscribers and fans. It was published on a world renowned marketing<br/>journal. I hope it helps.<br/><br/>Good Luck.<br/><br/><br/>Sid Q.100442<br/><br/></p> 2013-06-06T18:26:32Z [perl #118361] Finding out long name of module fails by Elizabeth Mattijsen <p>From: Elizabeth Mattijsen # New Ticket Created by Elizabeth Mattijsen <br/># Please include the string: [perl #118361]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118361 &gt;<br/><br/><br/>[10:41:11] &lt;lizmat&gt; r: module Foo { module Bar { say $?PACKAGE } } # shouldn&#39;t this need to say (Foo::Bar) ???<br/>[10:41:12] &lt;+camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;(Bar)&acirc;&#144;&curren;&Acirc;&raquo;<br/>[10:53:53] &lt;lizmat&gt; TimToady: do you have an opinion on &quot;module Foo { module Bar { say $?PACKAGE } } # shouldn&#39;t this need to say (Foo::Bar) ???&quot;<br/>[10:54:17] &lt;TimToady&gt; lizmat: I&#39;d think so<br/>[10:54:50] &lt;jnthn&gt; Wait, stringifying a type object gives the short nam,e no?<br/>[10:55:20] &lt;lizmat&gt; ah, how to get the long name then?<br/>[10:55:32] &lt;jnthn&gt; .WHO iirc, though not sure that does the Right thing yet.<br/>[10:55:54] &lt;pmichaud&gt; $?PACKAGE.WHO stringifies to long name<br/>[10:56:13] &lt;jnthn&gt; Right<br/>[10:56:17] &lt;jnthn&gt; well, *should* :)<br/>[10:56:34] &lt;lizmat&gt; rn: module Foo { module Bar { say $?PACKAGE.WHO } }<br/>[10:56:37] &lt;+camelia&gt; ..rakudo b2072f: OUTPUT&Acirc;&laquo;().hash&acirc;&#144;&curren;&Acirc;&raquo;<br/>[10:56:59] lizmat adapts rakudobug before sending off<br/></p> 2013-06-06T16:01:07Z [perl #118339] [BUG] Conspicuous lack of warning when uselessly providing a precedence on a multi operator in Rakudo by Carl Mäsak <p>From: Carl Mäsak # New Ticket Created by &quot;Carl M&Atilde;&curren;sak&quot; <br/># Please include the string: [perl #118339]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118339 &gt;<br/><br/><br/>&lt;flussence&gt; rn: multi infix:&lt;%&gt;($lhs, Str $rhs) is looser(&amp;infix:&lt;xx&gt;)<br/>{ $lhs.join: $rhs }; say &#39;........&#39; xx 8 % &quot;\n&quot;<br/>&lt;camelia&gt; rakudo b2072f, niecza v24-66-gaee6525: OUTPUT&Acirc;&laquo;........<br/>........ ........ ........ ........ ........ ........ ........&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;flussence&gt; those \s&#39;es should be \n&#39;s...<br/>&lt;colomon&gt; that doesn&#39;t seem to have worked?<br/>&lt;flussence&gt; rn: multi infix:&lt;%&gt;($lhs, Str $rhs) is looser(&amp;infix:&lt;xx&gt;)<br/>{ $lhs.join: $rhs }; say (&#39;........&#39; xx 8) % &quot;\n&quot;<br/>&lt;camelia&gt; rakudo b2072f, niecza v24-66-gaee6525:<br/>OUTPUT&Acirc;&laquo;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;timotimo&gt; yeah, because of $ instead of @<br/>&lt;colomon&gt; oh, nevermind<br/>&lt;timotimo&gt; for the $lhs ;)<br/>&lt;masak&gt; timotimo: should still work, no?<br/>&lt;masak&gt; so, why doesn&#39;t it work for @lhs ?<br/>&lt;moritz&gt; ah, I know what&#39;s going on<br/>&lt;quietfanatic&gt; r: multi infix:&lt;%&gt;(\lhs, Str $rhs) { say &quot;custom op&quot;;<br/>lhs.join: $rhs }; say ( infix:&lt;%&gt;(&#39;........&#39; xx 8, &quot;\n&quot;) ).perl<br/>&lt;camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;custom<br/>op&acirc;&#144;&curren;&quot;........\n........\n........\n........\n........\n........\n........\n........&quot;&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;timotimo&gt; oh, facepalm.<br/>&lt;moritz&gt; since there&#39;s already an infix %, you can&#39;t define a new one<br/>with a different precedence<br/>&lt;flussence&gt; oh!<br/>&lt;moritz&gt; so the precedence spec is simply ignored<br/>&lt;quietfanatic&gt; oh, I think it&#39;d be nice if you could do that<br/>&lt;timotimo&gt; traits can be applied to the proto only?<br/>&lt;quietfanatic&gt; or wait, is it because it&#39;s installing it as a multi?<br/>&lt;timotimo&gt; can only be applied to the proto*<br/>&lt;quietfanatic&gt; I see<br/>&lt;benabik&gt; Multis with different precedence is probably a bad idea.<br/>&lt;quietfanatic&gt; r: sub infix:&lt;%%%&gt;(\lhs, Str $rhs) is<br/>looser(&amp;infix:&lt;xx&gt;) { say lhs.perl; lhs.join: $rhs }; say (&#39;........&#39;<br/>xx 8 %%% &quot;\n&quot; )<br/>&lt;camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;(&quot;........&quot;, &quot;........&quot;, &quot;........&quot;,<br/>&quot;........&quot;, &quot;........&quot;, &quot;........&quot;, &quot;........&quot;,<br/>&quot;........&quot;).list&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;........&acirc;&#144;&curren;&Acirc;&raquo;<br/>&lt;quietfanatic&gt; you&#39;re right<br/>&lt;masak&gt; could there maybe be a warning if you try to override the precedence?<br/>&lt;masak&gt; it feels wrongish that it just throws it away.<br/>&lt;colomon&gt; masak: I think an error, even<br/>* masak submits rakudobug<br/>&lt;masak&gt; colomon: better? :)<br/>&lt;colomon&gt; masak++<br/></p> 2013-06-05T19:58:02Z [perl #118325] [BUG] $x div 0 dies immediately instead of resulting in a Failure in Rakudo by Carl Mäsak <p>From: Carl Mäsak # New Ticket Created by &quot;Carl M&Atilde;&curren;sak&quot; <br/># Please include the string: [perl #118325]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118325 &gt;<br/><br/><br/>It&#39;s very frustrating not to be able to copy-paste the code from<br/>pmichaud&#39;s talk. The future isn&#39;t fully here yet.<br/><br/>&lt;masak&gt; could someone help me reproduce pmichaud&#39;s bug, for the ticket?<br/>&lt;quietfanatic&gt; rn: my $zero = 0; my $value = 32 div $zero; say &#39;alive&#39;<br/>&lt;camelia&gt; ..rakudo b2072f: OUTPUT&Acirc;&laquo;Divide by zero&acirc;&#144;&curren; in sub infix:&lt;div&gt; [...]<br/>&lt;masak&gt; quietfanatic++<br/></p> 2013-06-05T15:58:35Z [perl #118287] [java] build runs out of memory by Will Coleda via RT

From: Will Coleda via RT On Tue Jun 04 13:03:04 2013, coke wrote:
> On Tue Jun 04 09:59:57 2013, nicholas wrote:
> > On Tue, Jun 04, 2013 at 08:54:14AM -0700, Will Coleda via RT wrote:
> > > FYI:
> > >
> > > $ java -version
> > > java version "1.7.0_10"
> > > Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
> > > Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
> >
> > Not that I have a great idea on this, but "out of memory" on which
> step?
> > Compiling the setting?
> >
> > and what platform - x86_64 (GNU) Linux?
> > How much RAM?
> > If you use -Xmx to set a larger heap size, does it work?
> >
> > Nicholas Clark
>
> From the original post:
>
> nqp/install/nqp --target=classfile --output=blib/Perl6/Grammar.class
> --encoding=utf8 \
> src/Perl6/Grammar.nqp
>
> That's the step that dies. If I add
>
> -Xms500m -Xmx2g
>
> (copied from elsewhere in rakudo-java's Makefile), and add it to the
> command line there, the
> build works.
>
> This probably isn't something we should add by default to the
> installed nqp, but we should
> consider allowing this to be a command line option to nqp's configure
> step. (and add a
> warning in the nqp readme)

Added a note to the README for now; Closing ticket.

--
Will "Coke" Coleda

2013-06-05T14:24:05Z
[perl #118313] [java] "use v6" broken/NYI by Will Coleda

From: Will Coleda # New Ticket Created by Will Coleda
# Please include the string: [perl #118313]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118313 >


Biggest blocker to running "make test" with rakudo-java right now:

$ ./perl6 -e 'use v6'
Unhandled exception: Method 'backtrace' not found
in print_exception
in <anon>
in command_eval
in command_eval
in command_line
in MAIN
in
in

(also need a backtrace, but that's another ticket)

--
Will "Coke" Coleda

2013-06-05T12:34:22Z
[perl #118287] Can't build rakudo on jvm - out of memory by Will Coleda via RT

From: Will Coleda via RT On Tue Jun 04 09:59:57 2013, nicholas wrote:
> On Tue, Jun 04, 2013 at 08:54:14AM -0700, Will Coleda via RT wrote:
> > FYI:
> >
> > $ java -version
> > java version "1.7.0_10"
> > Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
> > Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
>
> Not that I have a great idea on this, but "out of memory" on which step?
> Compiling the setting?
>
> and what platform - x86_64 (GNU) Linux?
> How much RAM?
> If you use -Xmx to set a larger heap size, does it work?
>
> Nicholas Clark

From the original post:

nqp/install/nqp --target=classfile --output=blib/Perl6/Grammar.class
--encoding=utf8 \
src/Perl6/Grammar.nqp

That's the step that dies. If I add

-Xms500m -Xmx2g

(copied from elsewhere in rakudo-java's Makefile), and add it to the command line there, the
build works.

This probably isn't something we should add by default to the installed nqp, but we should
consider allowing this to be a command line option to nqp's configure step. (and add a
warning in the nqp readme)

--
Will "Coke" Coleda

2013-06-04T20:03:14Z
Re: [perl #118287] Can't build rakudo on jvm - out of memory by Nicholas Clark

From: Nicholas Clark On Tue, Jun 04, 2013 at 08:54:14AM -0700, Will Coleda via RT wrote:
> FYI:
>
> $ java -version
> java version "1.7.0_10"
> Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
> Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

Not that I have a great idea on this, but "out of memory" on which step?
Compiling the setting?

and what platform - x86_64 (GNU) Linux?
How much RAM?
If you use -Xmx to set a larger heap size, does it work?

Nicholas Clark

2013-06-04T16:59:41Z
[perl #118287] Can't build rakudo on jvm - out of memory by Will Coleda via RT

From: Will Coleda via RT FYI:

$ java -version
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

2013-06-04T15:54:21Z
Re: Fwd: [Passed] letolabs/parrot-libgit2#21 (nciupdate - 4d61364) by Saurabh Kumar

From: Saurabh Kumar
Patrick R. Michaud writes:

> The parrot-nqp.c file is generated by the pbc_to_exe program, which
> contains the source lines referenced here. The source for pbc_to_exe
> is in tools/dev/ .
>
> HTH,
>
> Pm

Hi,

Thanks for that. Adding context to the problem, the bug is that when I
run tests for parrot-libgit2, the tests fail but the process still
returns a zero exit code. Its not critical but getting proper failure
reports from travis would be nice.

Running gdb, it appears that the execution of the tests take place here:

https://github.com/parrot/parrot/blob/master/src/scheduler.c#L93

but no exit code propagates from here.

> On Sat, Jun 01, 2013 at 12:46:46PM -0500, Jonathan "Duke" Leto wrote:
>> Howdy,
>>
>> I think my GSoC student has possibly found a bug in parrot-nqp. I
>> won't have much time during YAPC::NA to help him.
>>
>> Could anybody step in and help him debug this issue?
>>
>> Duke
>>
>>
>> ---------- Forwarded message ----------
>> From: Saurabh Kumar <saurabhgeek92@gmail.com>
>> Date: Sat, Jun 1, 2013 at 11:55 AM
>> Subject: Re: [Passed] letolabs/parrot-libgit2#21 (nciupdate - 4d61364)
>> To: Jonathan Duke Leto <jonathan@leto.net>
>>
>>
>> On Sat, Jun 1, 2013 at 8:12 PM, Jonathan "Duke" Leto <jonathan@leto.net> wrote:
>> > Howdy,
>> >
>> > Can you show me where (a link to Github is most useful) where you
>> > think the NQP exit code bug is?
>> >
>> > Thanks!
>>
>> Ah, sorry, I was looking at parrot-nqp.c, which seems to be a
>> generated file, and not in the parrot.git repository. The main
>> function in the C file (Around line 37296) seems to have 7 locations
>> where it can exit. Before the program exits successfully, this is the
>> only location that should give off an error:
>>
>> if (!Parrot_api_run_bytecode(interp, pbc, argsarray)) {
>> show_last_error_and_exit(interp);
>> }
>>
>> Apparently this doesn't show a error. I'm not sure which source file
>> generates this C file now. I will look into it.
>>
>>
>> --
>> Jonathan "Duke" Leto <jonathan@leto.net>
>> Leto Labs LLC http://letolabs.com
>> 209.691.DUKE http://duke.leto.net
>> @dukeleto


--
Saurabh Kumar

2013-06-04T04:08:04Z
[perl #118263] [BUG] LTA error when the signatures of a stubbed method from a role and a class don't match by Timo Paulssen

From: Timo Paulssen # New Ticket Created by Timo Paulssen
# Please include the string: [perl #118263]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118263 >


In this code

role Command {
method execute { ... }
}

class EchoCommand is Command {
method execute(Str $echostring) { shell "echo '$echostring'" }
}

gives the following error:

===SORRY!===
Method 'execute' must be implemented by Command because it is required by a role
at foobar.p6:6
------>


It would be cool if it would acknowledge, that there is a message, but the
signatures don't match.

2013-06-04T00:31:35Z
Re: [perl #85750] Test failures on OpenBSD by Pascal Stumpf <p>From: Pascal Stumpf On Thu, 30 May 2013 08:58:50 -0700, &quot;Will Coleda via RT&quot; wrote:<br/>&gt; On Wed, May 29, 2013 at 10:29 AM, Pascal Stumpf &lt;Pascal.Stumpf@cubes.de&gt;wrote:<br/>&gt; <br/>&gt; &gt; On Wed, 29 May 2013 05:42:27 -0700, &quot;Will Coleda via RT&quot; wrote:<br/>&gt; &gt; &gt; How are you running the spec tests? - it looks like you&#39;ve included some<br/>&gt; &gt; &gt; that are not marked as runnable by rakudo.<br/>&gt; &gt;<br/>&gt; &gt; I think I did a &quot;gmake spectest_full&quot;. Shall I run just the spectest<br/>&gt; &gt; target again or can you just ignore the tests that are not marked as<br/>&gt; &gt; runnable?<br/>&gt; <br/>&gt; <br/>&gt; spectest_full is only useful if you&#39;re a developer looking for more tests<br/>&gt; to run.<br/>&gt; <br/>&gt; If you could rerun with just &#39;gmake spectest&#39; that&#39;ll give us a much better<br/>&gt; idea of what&#39;s actually broken. And for those tests that fail, please<br/>&gt; provide the verbose output when running each of those test files.<br/>&gt; <br/>&gt; You can get verbose output for a single test file with: &#39;make<br/>&gt; t/spec/S02-types/bool.t&#39;<br/>&gt; <br/>&gt; Thanks.<br/><br/>Hi,<br/><br/>here&#39;s the test summary and output from failed tests:<br/><br/><br/>Test Summary Report<br/>-------------------<br/>t/spec/S02-literals/char-by-name.rakudo (Wstat: 256 Tests: 0 Failed: 0)<br/> Non-zero exit status: 1<br/> Parse errors: No plan found in TAP output<br/>t/spec/S03-operators/arith.rakudo (Wstat: 0 Tests: 143 Failed: 1)<br/> Failed test: 112<br/>t/spec/S05-mass/named-chars.rakudo (Wstat: 256 Tests: 0 Failed: 0)<br/> Non-zero exit status: 1<br/> Parse errors: No plan found in TAP output<br/>t/spec/S05-mass/properties-block.rakudo (Wstat: 256 Tests: 0 Failed: 0)<br/> Non-zero exit status: 1<br/> Parse errors: No plan found in TAP output<br/>t/spec/S05-mass/properties-derived.rakudo (Wstat: 256 Tests: 0 Failed: 0)<br/> Non-zero exit status: 1<br/> Parse errors: No plan found in TAP output<br/>t/spec/S05-mass/properties-general.rakudo (Wstat: 256 Tests: 0 Failed: 0)<br/> Non-zero exit status: 1<br/> Parse errors: No plan found in TAP output<br/>t/spec/S19-command-line/dash-e.t (Wstat: 0 Tests: 3 Failed: 2)<br/> Failed tests: 2-3<br/>t/spec/S32-hash/delete-adverb.rakudo (Wstat: 0 Tests: 108 Failed: 0)<br/> TODO passed: 17, 22-23, 25, 28-29, 31, 34-37, 39, 54<br/> 68<br/>t/spec/S32-num/int.rakudo (Wstat: 256 Tests: 86 Failed: 0)<br/> Non-zero exit status: 1<br/> Parse errors: Bad plan. You planned 107 tests but ran 86.<br/>t/spec/S32-num/power.rakudo (Wstat: 0 Tests: 50 Failed: 1)<br/> Failed test: 18<br/>Files=738, Tests=25798, 5896 wallclock secs (11.98 usr 118.69 sys + 4175.85 cusr 1257.87 csys = 5564.39 CPU)<br/>Result: FAIL<br/><br/><br/><br/>t/spec/S03-operators/arith.rakudo .. <br/>1..143<br/>ok 1 - 1 == 1<br/>ok 2 - 3 == 3<br/>ok 3 - -3 == -3<br/>ok 4 - -1 == -1<br/>ok 5 - 1 == 1<br/>ok 6 - 3 == 3<br/>ok 7 - -3 == -3<br/>ok 8 - -1 == -1<br/>ok 9 - 0 == 0<br/>ok 10 - 0.5 == 0.5<br/>ok 11 - modulo with negative divisor (1)<br/>ok 12 - modulo with negative divisor (2)<br/>ok 13 - <br/>ok 14 - <br/>ok 15 - <br/>ok 16 - <br/>ok 17 - 2 == 2<br/>ok 18 - 2 == 2<br/>ok 19 - 90 == 90<br/>ok 20 - -16 == -16<br/>ok 21 - -61 == -61<br/>ok 22 - 3 == 3<br/>ok 23 - 0 == 0<br/>ok 24 - 0 == 0<br/>ok 25 - 3 == 3<br/>ok 26 - -13 == -13<br/>ok 27 - 2 == 2<br/>ok 28 - -12 == -12<br/>ok 29 - 10 == 10<br/>ok 30 - -161 == -161<br/>ok 31 - -151 == -151<br/>ok 32 - 7 == 7<br/>ok 33 - 0 == 0<br/>ok 34 - 0 == 0<br/>ok 35 - 2147483647 == 2147483647<br/>ok 36 - 2147483647 == 2147483647<br/>ok 37 - 1 == 1<br/>ok 38 - -1 == -1<br/>ok 39 - 4294967290 == 4294967290<br/>ok 40 - -4294967290 == -4294967290<br/>ok 41 - 4294967297 == 4294967297<br/>ok 42 - -4294967297 == -4294967297<br/>ok 43 - -1 == -1<br/>ok 44 - 1 == 1<br/>ok 45 - 4294967290 == 4294967290<br/>ok 46 - -4294967290 == -4294967290<br/>ok 47 - -4294967297 == -4294967297<br/>ok 48 - 4294967297 == 4294967297<br/>ok 49 - 3 == 3<br/>ok 50 - -6 == -6<br/>ok 51 - -9 == -9<br/>ok 52 - 12 == 12<br/>ok 53 - 2147395599 == 2147395599<br/>ok 54 - -2147395599 == -2147395599<br/>ok 55 - -2147395599 == -2147395599<br/>ok 56 - 2147395599 == 2147395599<br/>ok 57 - 2 == 2<br/>ok 58 - 2 == 2<br/>ok 59 - 1.2 == 1.2<br/>ok 60 - -1.2 == -1.2<br/>ok 61 - 2 == 2<br/>ok 62 - -4 == -4<br/>ok 63 - -7 == -7<br/>ok 64 - 14 == 14<br/>ok 65 - 9 div 4 == 2<br/>not ok 66 - -9 div 4 == -3# TODO negative div<br/># got: &#39;-2&#39;<br/># expected: &#39;-3&#39;<br/>not ok 67 - 9 div -4 == -3# TODO negative div<br/># got: &#39;-2&#39;<br/># expected: &#39;-3&#39;<br/>ok 68 - -9 div -4 == 2<br/>ok 69 - 13 mod 4<br/>not ok 70 - -13 mod 4# TODO negative mod<br/># got: &#39;-1&#39;<br/># expected: &#39;3&#39;<br/>not ok 71 - 13 mod -4# TODO negative mod<br/># got: &#39;1&#39;<br/># expected: &#39;-3&#39;<br/>ok 72 - -13 mod -4<br/>ok 73 - 1.25 == 1.25<br/>ok 74 - -1.75 == -1.75<br/>ok 75 - -2.25 == -2.25<br/>ok 76 - 2.75 == 2.75<br/>ok 77 - <br/>ok 78 - <br/>ok 79 - <br/>ok 80 - <br/>ok 81 - <br/>ok 82 - <br/>ok 83 - ** is right associative<br/>ok 84 - infix:&lt;**&gt; is right associative<br/>ok 85 - i^2 == -1<br/>ok 86 - sqrt(-i)**4 ==-1<br/>ok 87 - (-1+0i)**0.5 == i <br/>ok 88 - <br/>ok 89 - <br/>ok 90 - <br/>ok 91 - <br/>ok 92 - <br/>ok 93 - <br/>ok 94 - <br/>ok 95 - <br/>ok 96 - <br/>ok 97 - <br/>ok 98 - <br/>ok 99 - <br/>ok 100 - <br/>ok 101 - <br/>ok 102 - <br/>ok 103 - <br/>ok 104 - <br/>ok 105 - <br/>ok 106 - <br/>ok 107 - <br/>ok 108 - 100**Inf<br/>ok 109 - Inf**Inf<br/>ok 110 - 0.9**Inf converges towards 0<br/>ok 111 - 1.1**Inf diverges towards Inf<br/>not ok 112 - <br/># got: &#39;NaN&#39;<br/># expected: &#39;1&#39;<br/>ok 113 - <br/>ok 114 - <br/>ok 115 - <br/>ok 116 - <br/>ok 117 - <br/>ok 118 - <br/>ok 119 - <br/>ok 120 - <br/>ok 121 - <br/>ok 122 - <br/>ok 123 - <br/>ok 124 - <br/>ok 125 - <br/>ok 126 - <br/>ok 127 - <br/>ok 128 - <br/>ok 129 - NaN**NaN<br/>ok 130 - NaN**Inf<br/>ok 131 - Inf**NaN<br/>0<br/>not ok 132 - Modulo zero dies and is catchable# TODO modulo by zero<br/>0<br/>not ok 133 - Modulo zero dies and is catchable with VInt/VRat variables# TODO modulo by zero<br/>0<br/>not ok 134 - Modulo zero dies and is catchable with VRef variables# TODO die or fail?<br/>ok 135 - Division by zero dies and is catchable<br/>ok 136 - Division by zero dies and is catchable with VInt div VRat variables<br/>ok 137 - Division by zero dies and is catchable with VRef variables<br/>ok 138 - Can calcualte 25! without loss of precision<br/>ok 139 - Can calcualte 2**65 without loss of precision<br/>ok 140 - no more Rat literals, infix:&lt;/&gt; has normal left assoc<br/>ok 141 - infix:&lt;+&gt; is not iffy enough<br/>ok 142 - -Inf warns (and yields 0) but does not give an error<br/>ok 143 - infix:&lt;-&gt; produces a proper Int, even if some of the types invovled have mixins<br/># Looks like you failed 1 tests of 143<br/># FUDGED!<br/>Failed 1/143 subtests <br/><br/>Test Summary Report<br/>-------------------<br/>t/spec/S03-operators/arith.rakudo (Wstat: 0 Tests: 143 Failed: 1)<br/> Failed test: 112<br/>Files=1, Tests=143, 20 wallclock secs ( 0.11 usr 0.04 sys + 12.86 cusr 2.65 csys = 15.66 CPU)<br/>Result: FAIL<br/><br/><br/>t/spec/S19-command-line/dash-e.t .. <br/>1..3<br/>ok 1 - -e print $something works<br/>not ok 2 - -e print $something works with non-ASCII string literals<br/># got out: &quot;&Atilde;&#136;&Acirc;&sect;&quot;<br/># expected out: &quot;&Egrave;&sect;&quot;<br/>not ok 3 - -e works with non-ASCII program texts<br/># got status: 1<br/># got out: &quot;&quot;<br/># expected out: &quot;23&quot;<br/># got err: &quot;\x[1b][31m===\x[1b][0mSORRY!\x[1b][31m===\x[1b][0m\nTwo terms in a row\nat -e:1\n------&gt; \x[1b][32mprint &lt;1 2&gt; \x[1b][33m&acirc;&#143;&#143;\x[1b][31m&Atilde;&#130;&Acirc;&raquo;+&Atilde;&#130;&Acirc;&laquo; &lt;1 1&gt;\x[1b][0m\n expecting any of:\n postfix\n infix stopper\n infix or meta-infix\n statement end\n statement modifier\n statement modifier loop\n&quot;<br/># expected err: &quot;&quot;<br/># Looks like you failed 2 tests of 3<br/>Failed 2/3 subtests <br/><br/>Test Summary Report<br/>-------------------<br/>t/spec/S19-command-line/dash-e.t (Wstat: 0 Tests: 3 Failed: 2)<br/> Failed tests: 2-3<br/>Files=1, Tests=3, 27 wallclock secs ( 0.05 usr 0.53 sys + 17.48 cusr 7.31 csys = 25.37 CPU)<br/>Result: FAIL<br/><br/><br/><br/>t/spec/S32-num/power.rakudo .. <br/>1..50<br/>ok 1 - 0 ** 0 == 1<br/>ok 2 - 0 ** 1 == 0<br/>ok 3 - 1 ** 2 == 1<br/>ok 4 - 4 ** 0 == 1<br/>ok 5 - 4 ** 1 == 4<br/>ok 6 - 4 ** 2 == 16<br/>ok 7 - 0 ** 4553535345364535345634543534 == 0<br/>ok 8 - 1 ** 4553535345364535345634543534 == 1<br/>not ok 9 - -1 ** 4553535345364535345634543534 == 1# TODO Simple bigint optimizations NYI<br/># got: &#39;-Inf&#39;<br/># expected: &#39;1&#39;<br/>not ok 10 - -1 ** 4553535345364535345634543534 == -1# TODO Simple bigint optimizations NYI<br/># got: &#39;-Inf&#39;<br/># expected: &#39;-1&#39;<br/>ok 11 - 2 ** 4553535345364535345634543534 == Inf<br/>not ok 12 - -2 ** 4553535345364535345634543534 == Inf# TODO Simple bigint optimizations NYI<br/># got: &#39;-Inf&#39;<br/># expected: &#39;Inf&#39;<br/>ok 13 - -2 ** 4553535345364535345634543534 == -Inf<br/>ok 14 - 4 ** .5 == 2<br/>ok 15 - 4 ** (1/2) == 2 <br/>ok 16 - 4 ** (-1/2) == 1/2 <br/>ok 17 - -2 ** 2 = 4<br/>not ok 18 - 1**Inf=1<br/># got: &#39;NaN&#39;<br/># expected: &#39;1&#39;<br/>ok 19 - 0**Inf=0<br/>ok 20 - Inf**2 = Inf<br/>ok 21 - (-Inf)**3 = -Inf<br/>ok 22 - Inf**Inf = Inf<br/>ok 23 - NaN propagates with integer powers<br/>ok 24 - NaN propagates with numeric powers<br/>ok 25 - 0**NaN=NaN<br/>ok 26 - # SKIP NaN**1i should be NaN<br/>ok 27 - # SKIP 1i**NaN should be NaN<br/>ok 28 - # SKIP NaN**0 should be NaN<br/>ok 29 - NaN**NaN=NaN<br/>ok 30 - Inf**NaN=NaN<br/>ok 31 - NaN**Inf=NaN<br/>ok 32 - e ** .5 == exp(.5)<br/>ok 33 - e ** 2.5 == exp(2.5)<br/>ok 34 - (4+0i) ** 2 == 16<br/>ok 35 - i ** 4 == 1<br/>ok 36 - (4+0i) ** .5 == 2<br/>ok 37 - i ** 2 == -1<br/>ok 38 - i ** 3 == -i<br/>ok 39 - 5i ** 3 = -125i<br/>ok 40 - 3i ** 3 = -27i<br/>ok 41 - -3i ** 3 = 27i<br/>ok 42 - # SKIP i<br/>ok 43 - quartic root of 8i ** 4 = 8i<br/>ok 44 - quartic root of 8i ** 4 = 8i<br/>ok 45 - quartic root of 8i ** 4 = 8i<br/>ok 46 - quartic root of 8i ** 4 = 8i<br/>ok 47 - e ** pi i = -1<br/>ok 48 - (4+0i) ** (2+0i) == 16<br/>ok 49 - 1.015 ** 200 is not NaN<br/>ok 50 - 1.015 ** 200 == 19.6430286394751<br/># Looks like you failed 1 tests of 50<br/># FUDGED!<br/>Failed 1/50 subtests <br/> (less 4 skipped subtests: 45 okay)<br/><br/>Test Summary Report<br/>-------------------<br/>t/spec/S32-num/power.rakudo (Wstat: 0 Tests: 50 Failed: 1)<br/> Failed test: 18<br/>Files=1, Tests=50, 8 wallclock secs ( 0.10 usr 0.41 sys + 5.31 cusr 1.72 csys = 7.54 CPU)<br/>Result: FAIL<br/><br/><br/>Thank you for looking at this!<br/><br/><br/>&gt; <br/>&gt; <br/>&gt; -- <br/>&gt; Will &quot;Coke&quot; Coleda<br/>&gt; <br/>&gt; <br/>&gt; <br/>&gt; On Wed, May 29, 2013 at 10:29 AM, Pascal Stumpf<br/>&gt; &lt;Pascal.Stumpf@cubes.de&gt; wrote:<br/>&gt; <br/>&gt; On Wed, 29 May 2013 05:42:27 -0700, &quot;Will Coleda via RT&quot; wrote:<br/>&gt; &gt; How are you running the spec tests? - it looks like you&#39;ve<br/>&gt; included some<br/>&gt; &gt; that are not marked as runnable by rakudo.<br/>&gt; <br/>&gt; I think I did a &quot;gmake spectest_full&quot;. &Atilde;&#130; Shall I run just the<br/>&gt; spectest<br/>&gt; target again or can you just ignore the tests that are not<br/>&gt; marked as<br/>&gt; runnable?<br/>&gt; <br/>&gt; spectest_full is only useful if you&#39;re a developer looking for more<br/>&gt; tests to run.<br/>&gt; If you could rerun with just &#39;gmake spectest&#39; that&#39;ll give us a<br/>&gt; much better idea of what&#39;s actually broken. And for those tests<br/>&gt; that fail, please provide the verbose output when running each of<br/>&gt; those test files.<br/>&gt; You can get verbose output for a single test file with: &#39;make<br/>&gt; t/spec/S02-types/bool.t&#39;<br/>&gt; Thanks.&Atilde;&#130;<br/>&gt; --<br/>&gt; Will &quot;Coke&quot; Coleda<br/></p> 2013-06-04T00:31:33Z [perl #118287] Can't build rakudo on jvm - out of memory by Will Coleda

From: Will Coleda # New Ticket Created by Will Coleda
# Please include the string: [perl #118287]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118287 >


Now that this has landed on the nom branch:

Using rakudo/nom @ 2367dad -

$ make
nqp/install/nqp --target=classfile --output=blib/Perl6/Grammar.class
--encoding=utf8 \
src/Perl6/Grammar.nqp
java.lang.OutOfMemoryError: Java heap space
in dump
in classfile
in
in compile
in eval
in evalfiles
in command_eval
in command_line
in MAIN
in
in make: *** [blib/Perl6/Grammar.class] Error 1

$ nqp/install/nqp --version
This is nqp version 2013.05-151-gb0d3b9c built on JVM


--
Will "Coke" Coleda

2013-06-03T21:44:55Z
[perl #118285] ConfigureJVM.pl should support --gen-nqp by Will Coleda

From: Will Coleda # New Ticket Created by Will Coleda
# Please include the string: [perl #118285]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118285 >


Analogous to Configure.pl's option.

Currently requires a pre-installed nqp invoked with --with-nqp

--
Will "Coke" Coleda

2013-06-03T18:09:49Z
[perl #118273] [BUG] Cannot pass named arguments to a macro by Carl Mäsak <p>From: Carl Mäsak # New Ticket Created by &quot;Carl M&Atilde;&curren;sak&quot; <br/># Please include the string: [perl #118273]<br/># in the subject line of all future correspondence about this issue. <br/># &lt;URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118273 &gt;<br/><br/><br/>&lt;lue&gt; r: macro foo(:$flag) { quasi { say 42 } if $flag }; foo(:flag);<br/>&lt;camelia&gt; rakudo b2072f: OUTPUT&Acirc;&laquo;===SORRY!===&acirc;&#144;&curren;Too many positional<br/>parameters passed; got 1 but expected 0 [...]&Acirc;&raquo;<br/>* lue thought he had an answer for a second, but nope<br/>&lt;lue&gt; Am I not allowed to use named parameters in macros, or is that a bug?<br/>&lt;masak&gt; lue: that&#39;s a bug.<br/>* masak submits rakudobug<br/>&lt;masak&gt; or, hm.<br/>&lt;masak&gt; I&#39;m not sure.<br/>&lt;masak&gt; but it&#39;s worth filing anyway :)<br/></p> 2013-06-03T02:34:01Z