Guest User

Untitled

a guest
Dec 14th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. 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'
Add Comment
Please, Sign In to add comment