Re: [perl #126728] Match using the wrong class

2015-12-13 Thread Parrot Raiser
"This means that extensibility is still possible, but now requires the writing of a custom setting, which seems a fair burden to place on language extenders for the sake of everyone else." That seems like a very reasonable policy; make life as convenient as possible for the majority, but let the n

[perl #126728] Match using the wrong class

2015-12-13 Thread jn...@jnthn.net via RT
On Wed Nov 25 02:47:48 2015, mt1...@gmail.com wrote: > Following code generates 'P6opaque: must compose before allocating'. > > package P { >class Regex { > has Int $.n; > submethod BUILD ( Str :$n ) { >die 'Not that one!!!' if $n ~~ m/^ '666' $/; >$!n = $n.Int; >

[perl #126728] Match using the wrong class

2015-11-25 Thread via RT
# New Ticket Created by mt1957 # Please include the string: [perl #126728] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126728 > Following code generates 'P6opaque: must compose before allocating'. package P { class Rege