Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shouldn't be able to set defaults on native ints #4703

Closed
p6rt opened this issue Oct 31, 2015 · 2 comments
Closed

shouldn't be able to set defaults on native ints #4703

p6rt opened this issue Oct 31, 2015 · 2 comments
Labels
JVM Related to Rakudo-JVM

Comments

@p6rt
Copy link

p6rt commented Oct 31, 2015

Migrated from rt.perl.org#126519 (status was 'new')

Searchable as RT126519$

@p6rt
Copy link
Author

p6rt commented Oct 31, 2015

From @coke

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

@p6rt p6rt added the JVM Related to Rakudo-JVM label Jan 5, 2020
@usev6
Copy link

usev6 commented Mar 20, 2020

This test works now (cmp. Raku/roast@b0eda67335).

I don't know when/how it was fixed, but I'll close this old ticket.

@usev6 usev6 closed this as completed Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JVM Related to Rakudo-JVM
Projects
None yet
Development

No branches or pull requests

2 participants