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

Parrot types leak through when assigning to natively typed variable #2535

Closed
p6rt opened this issue Oct 26, 2011 · 4 comments
Closed

Parrot types leak through when assigning to natively typed variable #2535

p6rt opened this issue Oct 26, 2011 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Oct 26, 2011

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

Searchable as RT102244$

@p6rt
Copy link
Author

p6rt commented Oct 26, 2011

From @moritz

12​:24 < grondilu> rakudo​: my int $n; say $n = 42;
12​:24 <+p6eval> rakudo 97aa73​: OUTPUT«Method 'gist' not found for
invocant of class 'Integer'␤ in sub say at src/gen/CORE.setting​:5281␤
in block <anon> at /tmp/0oeqA8MH_x​:1␤ in <anon> at /tmp/0oeqA8MH_x​:1␤»

But this one works​:
12​:27 < moritz> nom​: my int $x = 2; say $x.gist
12​:27 <+p6eval> nom 97aa73​: OUTPUT«2␤»

I'm going to put a test in S02-types/native.t

@p6rt
Copy link
Author

p6rt commented Oct 26, 2011

From @jnthn

On Wed Oct 26 03​:33​:47 2011, moritz wrote​:

12​:24 < grondilu> rakudo​: my int $n; say $n = 42;
12​:24 <+p6eval> rakudo 97aa73​: OUTPUT«Method 'gist' not found for
invocant of class 'Integer'␤ in sub say at src/gen/CORE.setting​:5281␤
in block <anon> at /tmp/0oeqA8MH_x​:1␤ in <anon> at /tmp/0oeqA8MH_x​:1␤»

But this one works​:
12​:27 < moritz> nom​: my int $x = 2; say $x.gist
12​:27 <+p6eval> nom 97aa73​: OUTPUT«2␤»

I'm going to put a test in S02-types/native.t

Fixed, can be closed once that test is added.

Thanks,

/jnthn

@p6rt
Copy link
Author

p6rt commented Oct 26, 2011

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

@p6rt
Copy link
Author

p6rt commented Oct 26, 2011

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

@p6rt p6rt closed this as completed Oct 26, 2011
@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