There are some issues with abstract types
rayloi777 opened this issue · 3 comments
rayloi777 commented
player-03 commented
Generally in situations like this, it's easiest to write typedef Speed = Float
.
If it must be an abstract (usually because you want to add instance functions), then you'll need a @:to
function that returns Int
.
rayloi777 commented
Is Work ! Thanks for your help :)
player-03 commented
I should also mention, it's cool to see someone using this! Hope things are going smoothly.