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

Using compiled modules on MoarVM fails when there's a data structure in the module #3340

Closed
p6rt opened this issue Feb 22, 2014 · 10 comments
Closed

Comments

@p6rt
Copy link

p6rt commented Feb 22, 2014

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

Searchable as RT121298$

@p6rt
Copy link
Author

p6rt commented Feb 22, 2014

From @hoelzro

I've attached a sample tarball of code; use ufo, make, and perl6
test.p6 to run it. A more real-world example is the URI module.

@p6rt
Copy link
Author

p6rt commented Feb 22, 2014

@p6rt
Copy link
Author

p6rt commented Mar 2, 2014

From @FROGGS

Am Fr 21. Feb 2014, 17​:20​:53, rob@​hoelz.ro schrieb​:

I've attached a sample tarball of code; use ufo, make, and perl6
test.p6 to run it. A more real-world example is the URI module.

The weird thing is that accessing the like like "%foo<bar>" fails, but succeds when doing "%foo.at_key('bar')".
So it seems as if &postcircumfix​:<{ }>, which delegates to method at_key, cannot be found os so...

@p6rt
Copy link
Author

p6rt commented Mar 2, 2014

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

@p6rt
Copy link
Author

p6rt commented Mar 2, 2014

From @hoelzro

On Sun, 2 Mar 2014 02​:02​:36 -0800
"Tobias Leich via RT" <perl6-bugs-followup@​perl.org> wrote​:

Am Fr 21. Feb 2014, 17​:20​:53, rob@​hoelz.ro schrieb​:

I've attached a sample tarball of code; use ufo, make, and perl6
test.p6 to run it. A more real-world example is the URI module.

The weird thing is that accessing the like like "%foo<bar>" fails,
but succeds when doing "%foo.at_key('bar')". So it seems as if
&postcircumfix​:<{ }>, which delegates to method at_key, cannot be
found os so...

Interesting...I've gotten %foo.WHERE to fail in this test as well as
&postcircumfix​:<{ }>.

@p6rt
Copy link
Author

p6rt commented Mar 8, 2014

From @FROGGS

This patch fixes it for MoarVM​: https://gist.github.com/jnthn/9431169

@p6rt
Copy link
Author

p6rt commented Mar 8, 2014

From @FROGGS

Fixed in rakudo/rakudo@1aeb7c3884

@p6rt
Copy link
Author

p6rt commented Mar 8, 2014

From @FROGGS

Still broken on JVM​:
jnthn​: Aww, too bad. I'd hoped it'd maybe fix it for both.
jnthn​: I guess when JVM adopts the same closure model as Moar then it fixes it...

@p6rt
Copy link
Author

p6rt commented Mar 17, 2015

From @FROGGS

This got fixed by fixing URI​: Raku/nqp@9233615

@p6rt
Copy link
Author

p6rt commented Mar 17, 2015

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

@p6rt p6rt closed this as completed Mar 17, 2015
@p6rt p6rt added the testneeded label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant