[perl #117681] .WHAT.perl on objects with a curried rule doesn't show type

2014-10-28 Thread Christian Bartolomaeus via RT
This works now as expected: $ perl6 -e 'role Cup[::Contents] { }; class EggNog { }; my Cup of EggNog $mug; $mug.WHAT.perl.say' Cup[EggNog] Since the test in integration/advent2009-day18.t is unfudged and runs fine in spectests, I'm closing this ticket.

[perl #122514] [BUG] LTA internal error message when declaring anonymous enum with '::' in Rakudo

2014-10-28 Thread Christian Bartolomaeus via RT
This works now: $ perl6 -e 'enum :: un; say ~un' un There is a passing test in S12-enums/misc.t added with commit https://github.com/perl6/roast/commit/ef7e1258e5 I'm closing this ticket now.

[perl #123077] [BUG] 1/0 results in a Failure complaining about an expected Int type in Rakudo

2014-10-28 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #123077] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=123077 moritz m: my $x = 1/ 0; $x.gist camelia rakudo-moar 315ec6: OUTPUT«Type check failed

[perl #76400] [BUG] Null PMC access when doing 'say $foo::' (which shouldn't even parse) in Rakudo

2014-10-28 Thread Christian Bartolomaeus via RT
We're back to the behaviour from 2011: $ perl6 -e '$foo:: = 42; say $foo::' 42 $ perl6-m -e 'say $foo::' (Any) But I wonder whether this is really correct. The subject states that 'say $foo::' should not parse and TimToadys remarks sound likewise: p6eval std 31559: OUTPUT«ok 00:01 111m␤»

[perl #75646] [BUG] Null PMC access when typing a variable as ::foo in Rakudo

2014-10-28 Thread Christian Bartolomaeus via RT
The Null PMC access is gone, so I'm closing this ticket. The error message has changed slightly: $ perl6-m -e 'my ::foo $x; say $x' Cannot type check against type variable foo in any type_check at src/gen/m-Metamodel.nqp:297 in block unit at -e:1 I added a test for this exception to

[perl #113042] [BUG] [WEIRD] LTA internals-leaky error message when doing 'for our $:: ();' in Rakudo

2014-10-28 Thread Christian Bartolomaeus via RT
The internal error message has changed slightly (but is still LTA): $ perl6-m -e 'for our $:: ()' ===SORRY!=== MVMArray: Index out of bounds $ perl6-p -e 'for our $:: ()' ===SORRY!=== QRPA: index out of bounds $ perl6-j -e 'for our $:: ()' ===SORRY!=== VMArray: Index out of bounds STD

[perl #123078] [BUG] LTA error message when a private method exists but a nonexistent public one is called (or vice versa) in Rakudo

2014-10-28 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #123078] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=123078 masak m: class C { method foo { self.bar }; method !bar { say hey, I'm right here! }

[perl6/specs] 2133dd: dir() reverts to IO::Path by default

2014-10-28 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 2133dd1232dae1b60f2ff728eb195894a59723d4 https://github.com/perl6/specs/commit/2133dd1232dae1b60f2ff728eb195894a59723d4 Author: Elizabeth Mattijsen l...@dijkmat.nl Date: 2014-10-28 (Tue, 28 Oct 2014)

[perl6/specs] 9b61e9: s/Str/IO::Path/ as spotted by pmichaud++

2014-10-28 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 9b61e9b0b6e46a2ecb98c1461f3933ca0fbf9905 https://github.com/perl6/specs/commit/9b61e9b0b6e46a2ecb98c1461f3933ca0fbf9905 Author: Elizabeth Mattijsen l...@dijkmat.nl Date: 2014-10-28 (Tue, 28 Oct 2014)