Skip Menu |
Report information
Id: 126519
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: coke <will [at] coleda.com>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: JVM



Subject: [JVM] shouldn't be able to set defaults on native ints
Date: Sat, 31 Oct 2015 15:08:09 -0400
From: Will Coleda <will [...] coleda.com>
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 960b
15:06 < [Coke]> r: use Test; throws-like 'my int $a is default(42)', X::Comp::Trait::NotOnNative,type => 'is',subtype => 'default'; 15:06 <+camelia> rakudo-moar 6abf2b: OUTPUT« 1..4␤ ok 1 - 'my int $a is default(42)' died␤ ok 2 - right exception type (X::Comp::Trait::NotOnNative)␤ ok 3 - .subtype matches default␤ ok 4 - .type matches is␤ok 1 - did we throws-like X::Comp::Trait::NotOnNative?␤» 15:06 <+camelia> ..rakudo-jvm 6abf2b: OUTPUT« 1..4␤ not ok 1 - 'my int $a is default(42)' died␤ ␤# Failed test ''my int $a is default(42)' died'␤# at /tmp/tmpfile line 1␤ ok 2 - # SKIP Code did not die, can not check exception␤ ok 3 - # SKIP Code did not die, can not check e…»-- Test in S02-names/is_default.t Will "Coke" Coleda


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org