c8ec5a,HEAD my class RT127845 { has uint8 $.x; submethod BUILD(uint8 :$!x) { } }; use Test; is-deeply RT127845.new(:x(5)).x, 5, 'can signature-bind to native type attributes in BUILD'
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!