# New Ticket Created by Zoffix Znet
# Please include the string: [perl #129827]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=129827 >
m: sub { 42.return }()
rakudo-moar 605f27: OUTPUT«Attempt to return outside of any
Ro
First a bit of deconfusion: negative exponents just mean x⁻² = 1/x². That works
just fine and is not relevant to this ticket:
m: say (-2) ** -2
rakudo-moar 605f27: OUTPUT«0.25»
Fractional exponents mean the number is raised to the power of the numerator
and then the denominator-th-ro
First a bit of deconfusion: negative exponents just mean x⁻² = 1/x². That works
just fine and is not relevant to this ticket:
m: say (-2) ** -2
rakudo-moar 605f27: OUTPUT«0.25»
Fractional exponents mean the number is raised to the power of the numerator
and then the denominator-th-ro
Am 06.10.2016 um 21:07 schrieb Brandon Allbery via RT:
> Actually, now that I think about it, there is something that can be done;
> not ideal, but the best we could do under the circumstances. Callbacks
> should be given default exception handlers that at minimum output the
> original exception (w
# New Ticket Created by Aaron Sherman
# Please include the string: [perl #129829]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=129829 >
>From IRC:
[15:12] m: say ((2**80) ..^ (2**81)).pick.base(2)
[15:12] <+camelia> rakudo
On Fri, Oct 07, 2016 at 12:18:43PM -0700, Aaron Sherman wrote:
> [15:12] m: say ((2**80) ..^ (2**81)).pick.base(2)
> [15:12] <+camelia> rakudo-moar 605f27:
> OUTPUT«100011101100100110010001010110101101010011001»
>
> The middle part is always a large number of
I think the p6bool is removed here:
https://github.com/rakudo/rakudo/blob/605f272881a76f0c5a9e352670a1e61eaa627ca6/src/Perl6/Optimizer.nqp#L1300
As far as I understand, the following code shows the problem at a lower level
(no differentiation between optimize=(1|2) required -- it happens on all
On Thu Oct 06 16:07:15 2016, elizabeth wrote:
> [...]
> >> 13:42 < lizmat> [Coke]: that is a known issue, several places in the
> >> core work
> >>around that
> >> 13:42 < lizmat> r: sub foo($a) { my $ = sub bar {} }; my $a=foo(1);
> >> 13:42 <+camelia> rakudo-{moar,jvm} a05867: ( n
# New Ticket Created by Itsuki Toyota
# Please include the string: [perl #129830]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=129830 >
See the following result:
$ perl6 -e 'class TypeHouse { has Int @.array; };
TypeHouse.
[08 02:06:10] m: class TypeHouse { has Int @.array; }; dd
TypeHouse.^attributes[0];
[08 02:06:11] rakudo-moar 2285d3: OUTPUT«Attribute @!array =
Attribute.new
[08 02:06:11] »
[08 02:06:24] m: class TypeHouse { has Int @.array; }; dd
TypeHouse.^attributes[0].type;
[08 02:06:25] rakudo-moar 228
[08 02:06:10] m: class TypeHouse { has Int @.array; }; dd
TypeHouse.^attributes[0];
[08 02:06:11] rakudo-moar 2285d3: OUTPUT«Attribute @!array =
Attribute.new
[08 02:06:11] »
[08 02:06:24] m: class TypeHouse { has Int @.array; }; dd
TypeHouse.^attributes[0].type;
[08 02:06:25] rakudo-moar 228
11 matches
Mail list logo