# New Ticket Created by  Paweł Pabian 
# Please include the string:  [perl #109188]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=109188 >


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

Reply via email to