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

Doing .perl on an :(Array of Int) signature produces an internal error in Rakudo #2056

Closed
p6rt opened this issue Aug 11, 2010 · 7 comments
Closed

Comments

@p6rt
Copy link

p6rt commented Aug 11, 2010

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

Searchable as RT77158$

@p6rt
Copy link
Author

p6rt commented Aug 11, 2010

From @masak

<dolmen> rakudo​: say :(Int).perl
<p6eval> rakudo fcf4f3​: OUTPUT«​:(Int )␤»
<dolmen> rakudo​: say :(Array of Int).perl
<p6eval> rakudo fcf4f3​: OUTPUT«Method '!select' not found for invocant
of class '' [...]
<masak> dolmen​: new bug?
<dolmen> masak​: don't know. Just experimenting with Signatures
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Aug 18, 2010

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 5, 2011

From @thundergnat

Duplicate of #​75896

http://rt.perl.org/rt3/Ticket/Display.html?id=75896

@p6rt
Copy link
Author

p6rt commented Oct 8, 2011

From @coke

On Wed Aug 11 06​:13​:02 2010, masak wrote​:

<dolmen> rakudo​: say :(Int).perl
<p6eval> rakudo fcf4f3​: OUTPUT«​:(Int )␤»
<dolmen> rakudo​: say :(Array of Int).perl
<p6eval> rakudo fcf4f3​: OUTPUT«Method '!select' not found for invocant
of class '' [...]
<masak> dolmen​: new bug?
<dolmen> masak​: don't know. Just experimenting with Signatures
* masak submits rakudobug

Behavior has changed​:

17​:18 < [Coke]> rakudo​: say :(Int).perl
17​:18 <+p6eval> rakudo 33f1cf​: OUTPUT«Unmarshallable foreign language
value
  passed for parameter '$value'␤ in method new at
  src/gen/CORE.setting​:4425␤ in sub coro at
  src/gen/CORE.setting​:3907␤ in method reify at
  src/gen/CORE.setting​:3877␤ in method reify at
  src/gen/CORE.setting​:3660␤ in method rei…
17​:18 < [Coke]> rakudo​: say :(Array of Int).perl
17​:18 <+p6eval> rakudo 33f1cf​: OUTPUT«Unmarshallable foreign language
value
  passed for parameter '$value'␤ in method new at
  src/gen/CORE.setting​:4425␤ in sub coro at
  src/gen/CORE.setting​:3907␤ in method reify at
  src/gen/CORE.setting​:3877␤ in method reify at
  src/gen/CORE.setting​:3660␤ in method rei…

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jan 22, 2014

From @coke

On Sat Oct 08 14​:19​:04 2011, coke wrote​:

On Wed Aug 11 06​:13​:02 2010, masak wrote​:

<dolmen> rakudo​: say :(Int).perl
<p6eval> rakudo fcf4f3​: OUTPUT«​:(Int )␤»
<dolmen> rakudo​: say :(Array of Int).perl
<p6eval> rakudo fcf4f3​: OUTPUT«Method '!select' not found for invocant
of class '' [...]
<masak> dolmen​: new bug?
<dolmen> masak​: don't know. Just experimenting with Signatures
* masak submits rakudobug

Behavior has changed​:

17​:18 < [Coke]> rakudo​: say :(Int).perl
17​:18 <+p6eval> rakudo 33f1cf​: OUTPUT«Unmarshallable foreign language
value
passed for parameter '$value'␤ in method new at
src/gen/CORE.setting​:4425␤ in sub coro at
src/gen/CORE.setting​:3907␤ in method reify at
src/gen/CORE.setting​:3877␤ in method reify at
src/gen/CORE.setting​:3660␤ in method rei…
17​:18 < [Coke]> rakudo​: say :(Array of Int).perl
17​:18 <+p6eval> rakudo 33f1cf​: OUTPUT«Unmarshallable foreign language
value
passed for parameter '$value'␤ in method new at
src/gen/CORE.setting​:4425␤ in sub coro at
src/gen/CORE.setting​:3907␤ in method reify at
src/gen/CORE.setting​:3877␤ in method reify at
src/gen/CORE.setting​:3660␤ in method rei…

Behavior has changed again.

20​:30 < [Coke]> rakudo​: say :(Int).perl
20​:30 <+camelia> rakudo-parrot 07c483, rakudo-jvm 07c483, rakudo-moar 07c483​:
  OUTPUT«​:(Int )␤»
20​:31 < [Coke]> rakudo​: say :(Array of Int).perl
20​:31 <+camelia> rakudo-parrot 07c483, rakudo-jvm 07c483, rakudo-moar 07c483​:
  OUTPUT«​:(Array[Int] )␤»

This was already marked testneeded - this last version looks like it's pretty good to lock in.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Sep 25, 2014

From @usev6

I moved the test from S02-types/77158.t to S06-signature/types.t (which is in 't/spectest.data').

The test passes on all rakudo backends.

@p6rt
Copy link
Author

p6rt commented Sep 25, 2014

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

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