# New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
# Please include the string:  [perl #132097]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132097 >


Submitting this ticket just to add some context for the upcoming test. The 
issue is already resolved after 
https://github.com/rakudo/rakudo/commit/3de6f33887688be0a39ba41a225b45489bf0cf4b
 .

Code:
role Rule {
    has Int $.number;
    has $.foo = $!number.say;
}

class Wolfram does Rule {
    has Rule $.rule .= new(:$!number);
}

Wolfram.new: number => 30


Result (2017.08,dea0a08545a^):
30
30

Result (dea0a08,HEAD(ac8e099)):
(Int)
30


This was causing a problem with Automata::Cellular tests ( 
https://github.com/dbrunton/Automata-Cellular ).

Reply via email to