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


<jnthn> r: class B { constant \a = 3; }; say B::a
<camelia> rakudo 69c3cc: OUTPUT«===SORRY!=== Error while compiling
/tmp/TcPFGgMLLY␤Missing initializer on constant declaration␤at
/tmp/TcPFGgMLLY:1␤------> class B { constant ⏏\a = 3; } [...]
<jnthn> r: class B { constant a = 3; }; say B::a
<camelia> rakudo 69c3cc: OUTPUT«3␤»
<masak> std: class B { constant \a = 3 }
<camelia> std 7c17586: OUTPUT«ok 00:00 43m␤»
<masak> jnthn: weird way to write it, but should be OK, no?
<jnthn> I think we didn't pull in the defterm stuff from STD yet...
* masak submits rakudobug

Reply via email to