Open kjx opened 6 years ago
It seems we have two way of saying (almost) the same thing.
Given:
class sup { method foo { print "superfoo" } }
then
class sub { inherit sup method foo is override { print "subfoo" } }
and
class sub { inherit sup exclude foo method foo { print "subfoo" } }
do almost the same thing. Do we need both? Differences are
see also #77
also #44
see also #67
Another fun twist: can you override (with is overrides) a method that's been excluded? it seems like you should be able to, although that doesn't quite make sense.
It seems we have two way of saying (almost) the same thing.
Given:
then
and
do almost the same thing. Do we need both? Differences are