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

can not increase alias after binding to native int (failures in S02-types/native.t) #3729

Closed
p6rt opened this issue Mar 12, 2015 · 4 comments
Labels
JVM Related to Rakudo-JVM

Comments

@p6rt
Copy link

p6rt commented Mar 12, 2015

Migrated from rt.perl.org#124051 (status was 'resolved')

Searchable as RT124051$

@p6rt
Copy link
Author

p6rt commented Mar 12, 2015

From @usev6

At the moment there are spectest failures with S02-types/native.t with rakudo.jvm. The failing code is (the same happens for int8 etc)​:

$ perl6-j -e 'my int $i = 1; my $alias := $i; $alias++'
Unhandled exception​: Expected a native int argument for '$a'
  in print_exception (gen/jvm/CORE.setting​:13633)
  in <anon> (gen/jvm/CORE.setting​:13674)
  in command_eval (gen/jvm/stage2/NQPHLL.nqp​:1287)
  in command_eval (src/Perl6/Compiler.nqp​:17)
  in command_line (gen/jvm/stage2/NQPHLL.nqp​:1227)
  in MAIN (gen/jvm/main.nqp​:39)
  in <mainline> (gen/jvm/main.nqp​:35)
  in (gen/jvm/main.nqp)

I'm going to fudge the tests for JVM (with a reference to this ticket).

@p6rt
Copy link
Author

p6rt commented Mar 22, 2015

From @peschwa

On Thu Mar 12 03​:20​:36 2015, bartolin@​gmx.de wrote​:

At the moment there are spectest failures with S02-types/native.t with
rakudo.jvm. The failing code is (the same happens for int8 etc)​:

$ perl6-j -e 'my int $i = 1; my $alias := $i; $alias++'
Unhandled exception​: Expected a native int argument for '$a'
in print_exception (gen/jvm/CORE.setting​:13633)
in <anon> (gen/jvm/CORE.setting​:13674)
in command_eval (gen/jvm/stage2/NQPHLL.nqp​:1287)
in command_eval (src/Perl6/Compiler.nqp​:17)
in command_line (gen/jvm/stage2/NQPHLL.nqp​:1227)
in MAIN (gen/jvm/main.nqp​:39)
in <mainline> (gen/jvm/main.nqp​:35)
in (gen/jvm/main.nqp)

I'm going to fudge the tests for JVM (with a reference to this
ticket).

The issue here was incorrect codegen for native rw parameters in NQP and has been fixed in perl6/nqp commit 9c30a5d0921b884840e859047d0d51fa0be484c3. I've unfudged the tests again.

@p6rt
Copy link
Author

p6rt commented Mar 22, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt closed this as completed Mar 23, 2015
@p6rt
Copy link
Author

p6rt commented Mar 23, 2015

@usev6 - Status changed from 'open' to 'resolved'

@p6rt p6rt added the JVM Related to Rakudo-JVM label Jan 5, 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

1 participant