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


<vendethiel> m: multi trait_mod:<is>(Mu:U $type, :$data!){ say
$type.attributes; say 1 }; class X is data { has $.a; }; say
X.WHAT.perl
<camelia> rakudo-moar cf30a7: OUTPUT«X␤»
<vendethiel> I'm not sure why my multi isn't picked up?
<masak> m: class X is data {}
<camelia> rakudo-moar cf30a7: ( no output )
<moritz> m: class X is nosuchtrait { }
<camelia> rakudo-moar cf30a7: ( no output )
<masak> m: class X is aloogabooga {}
<camelia> rakudo-moar cf30a7: ( no output )
<moritz> bug!
* masak submits it

<masak> m: class C is aloogabooga {}
<camelia> rakudo-moar cf30a7: OUTPUT«===SORRY!=== Error while
compiling /tmp/UXeCmKzq6m␤'C' cannot inherit from 'aloogabooga'
because it is unknown. [...]
<masak> hah!
<masak> this time I caught it before hitting "Send" :P
<masak> people, do *not* use `X` as the name of an "example class"
when testing things on camelia.
<masak> use `A` or `C` or some other letter early in the alphabet.
<masak> I'm still going to submit this, because *something* is wrong, clearly.
<masak> but it involves using `X`.

Reply via email to