On Thu Mar 19 12:45:21 2009, druoso wrote: > <ruoso> rakudo: role Foo {}; role Bar {}; role SigType does Foo does Bar > {}; subset Really of SigType where Foo & Bar; say Foo.does(Really); say > Really.does(Foo); > <p6eval> rakudo f8b6ae: OUTPUT«Null PMC access in getprop()current > instr.: '!CREATE_SUBSET_TYPE' pc 17211 (src/builtins/guts.pir:213)» >
Subtypes based on user-defined classes and roles - which didn't always work before now - should now be working reliably as of git . > role R1 { }; subset SR1 of R1 where 1; say 1 ~~ SR1; say (1 but R1) ~~ SR1; 0 1 Added tests to S12-subset/subtypes.t. Thanks, Jonathan