# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #77184]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77184 >


<tylercurtis> rakudo: role A { my $!foo; }; role B { my $!foo; };
class C does A does B; say 'alive';
<p6eval> rakudo 811c1c: OUTPUT«===SORRY!===␤Lexical 'self' not found␤»
<masak> rakudo: role A { my $!foo }; class C does A {}
<p6eval> rakudo 811c1c: OUTPUT«===SORRY!===␤Lexical 'self' not found␤»
<masak> tylercurtis: known bug?
<tylercurtis> masak: Don't know.
* masak submits rakudobug
<masak> rakudo: role A { my $!foo }; say "alive"
<p6eval> rakudo 811c1c: OUTPUT«alive␤»
<masak> rakudo: role A { my $!foo }; say A.new; say "alive"
<p6eval> rakudo 811c1c: OUTPUT«Lexical 'self' not found␤[...]
<masak> interesting.
<masak> observe how those are actually two types of errors. is the
first parse-time and the second run-time, or something?

Reply via email to