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

failing tests in S32-str/split-simple.t: java.lang.RuntimeException: Cannot access a native attribute as a reference attribute #4764

Closed
p6rt opened this issue Nov 18, 2015 · 6 comments
Labels
JVM Related to Rakudo-JVM

Comments

@p6rt
Copy link

p6rt commented Nov 18, 2015

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

Searchable as RT126679$

@p6rt
Copy link
Author

p6rt commented Nov 18, 2015

From @usev6

There are skipped tests in S32-str/split-simple.t which die with the following error mode​:

$ perl6-j -e 'say "a b".split(/\s/, :v)'
java.lang.RuntimeException​: Cannot access a native attribute as a reference attribute
  in block <unit> at -e​:1

Moar gives the following output​:

$ perl6-m -e 'say "a b".split(/\s/, :v)'
(a 「 」 b)

If one splits on a literal whitespace, the command does not die (same output on Moar)​:

$ perl6-j -e 'say "a b".split(" ", :v)'
(a b)

@p6rt
Copy link
Author

p6rt commented Nov 20, 2015

From @peschwa

On Wed Nov 18 12​:43​:42 2015, bartolin@​gmx.de wrote​:

There are skipped tests in S32-str/split-simple.t which die with the
following error mode​:

$ perl6-j -e 'say "a b".split(/\s/, :v)'
java.lang.RuntimeException​: Cannot access a native attribute as a
reference attribute
in block <unit> at -e​:1

Moar gives the following output​:

$ perl6-m -e 'say "a b".split(/\s/, :v)'
(a 「 」 b)

If one splits on a literal whitespace, the command does not die (same
output on Moar)​:

$ perl6-j -e 'say "a b".split(" ", :v)'
(a b)

Fixed in Rakudo commit 0b6328c.

@p6rt
Copy link
Author

p6rt commented Nov 20, 2015

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

@p6rt
Copy link
Author

p6rt commented Nov 21, 2015

From @usev6

Thanks! I'm closing this ticket as 'resolved'.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Nov 21, 2015

From @usev6

Thanks! I'm closing this ticket as 'resolved'.

@p6rt
Copy link
Author

p6rt commented Nov 21, 2015

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

@p6rt p6rt closed this as completed Nov 21, 2015
@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