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

cannot create junction from types #2623

Closed
p6rt opened this issue Jan 27, 2012 · 3 comments
Closed

cannot create junction from types #2623

p6rt opened this issue Jan 27, 2012 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Jan 27, 2012

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

Searchable as RT109188$

@p6rt
Copy link
Author

p6rt commented Jan 27, 2012

From @bbkr

Steps to reproduce bug​:

[13​:16] <bbkr> rakudo​: Array|Hash
[13​:16] <p6eval> rakudo 052cc6​: OUTPUT«Cannot look up attributes in a type
objectâ�¤ in method infinite at src/gen/CORE.setting​:4749â�¤ in method infinite
at src/gen/CORE.setting​:4432â�¤ in method infinite at
src/gen/CORE.setting​:4749â�¤ in method infinite at src/gen/CORE.setting​:4432â�¤
in method gimme at s�

Version​:

This is perl6 version 2012.01 built on parrot 3.11.0 revision RELEASE_3_11_0

Discussion​:

[13​:14] <bbkr> rakudo​: one(Array,Hash) # should junction work on types? I
cannot find in spec.
[13​:14] <p6eval> rakudo 052cc6​: OUTPUT«Cannot look up attributes in a type
objectâ�¤ in method infinite at src/gen/CORE.setting​:4749â�¤ in method infinite
at src/gen/CORE.setting​:4432â�¤ in method infinite at
src/gen/CORE.setting​:4749â�¤ in method infinite at src/gen/CORE.setting​:4432â�¤
in method gimme at s�

[13​:15] <bbkr> consequence of syntax "$x ~~ Array" should be possibility to
use "$x ~~ Array|Hash"
[13​:16] <moritz> bbkr​: I think it should work
[13​:16] <jnthn> Should work.
[13​:16] * bbkr reports bug

@p6rt
Copy link
Author

p6rt commented Jan 30, 2012

From @moritz

This has been fixed, and is now tested in S03-junctions/misc.t

@p6rt
Copy link
Author

p6rt commented Jan 30, 2012

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

@p6rt p6rt closed this as completed Jan 30, 2012
@lizmat lizmat changed the title cannot create juntion from types cannot create junction from types Jan 12, 2020
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