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

Odd compilation issue in rakudo #3657

Closed
p6rt opened this issue Jan 27, 2015 · 4 comments
Closed

Odd compilation issue in rakudo #3657

p6rt opened this issue Jan 27, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jan 27, 2015

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

Searchable as RT123679$

@p6rt
Copy link
Author

p6rt commented Jan 27, 2015

From @cjfields

Found an odd compilation-only problem with rakudo with both JVM and MoarVM​:

https://gist.github.com/cjfields/f899329609b3eee7129d#file-gistfile1-txt

Note that the script works until one of the modules (the role with the 'handles' keyword) is compiled. Then it fails (reversing that, compiling only the class but not the role, works fine).

This seems to be due to 'handles' not accepting a list of values for methods. Specifying a single method ('handles "getc"') or the class ('handles IO​::Handle) works fine, though I haven't yet tested to see if said methods are actually present.

Rakudo version​:

<pre>
[cjfields@​cjfields-imac ~]$ perl6 -v
This is perl6 version 2015.01-27-gfc5f2d8 built on MoarVM version 2015.01-5-ga29eaa9
[cjfields@​cjfields-imac ~]$ perl6-j -v
This is perl6 version 2015.01-27-gfc5f2d8 built on JVM
</pre>

Run on Mac OS X 10.10.

@p6rt
Copy link
Author

p6rt commented Sep 13, 2015

From @usev6

The test for this issue in integration/precompiled.t was unfudged with commit Raku/roast@57591f9f1d and the test passes now.

I'm closing this ticket as 'resolved'.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Sep 13, 2015

From @usev6

The test for this issue in integration/precompiled.t was unfudged with commit Raku/roast@57591f9f1d and the test passes now.

I'm closing this ticket as 'resolved'.

@p6rt p6rt closed this as completed Sep 13, 2015
@p6rt
Copy link
Author

p6rt commented Sep 13, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant