Closed CarstenNZ closed 2 years ago
After starting to work on this problem and re-reading the rattle description I realized that identifying internal functions is beyond rattle's original scope. So I close it here and will extend in my rattle_code fork.
Git a3fa9c7c773bc8c805317df597da1f216f1b9293
Function
luckyNumberOfAddress
of the Lottery example.The body of
luckyNumberOfAddress
is factorized by the compiler into an internalhelper
function that is used byluckyNumberOfAddress
andparticipate
.Rattle fails to identify the
helper
function and consequently pulls part of theparticipate
body (after the call) into theluckyNumberOfAddress
body.