# New Ticket Created by  mbere...@flashmail.com 
# Please include the string:  [perl #62838]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62838 >


Compare the following two command lines, both should print
0:

perl6 -e 'class A { has @!a; method m { say @!a.elems; }; };
A.new.m;'

perl6 -e 'class A { has Str @!a; method m { say @!a.elems;
}; }; A.new.m;'

The latter prints 1, and a more extensive example using a
class type instead of Str suggests that the array contains a
protoobject. No bisect results yet, but r35309 (just
pre-rvar2) prints 0 both times.


Reply via email to