Closed Xliff closed 1 year ago
@Xliff Thanks. Like the ideas, but not passing the test suite yet. How about just making the raw attribute public, ie:
--- a/lib/LibXML/XPath/Context.rakumod +++ b/lib/LibXML/XPath/Context.rakumod @@ -132,8 +132,7 @@ use Method::Also; has $.sax-handler is rw; has $.query-handler is rw = self.config.query-handler; -has xmlXPathContext $!raw handles<SetStructuredErrorFunc> .= new; -method raw { $!raw } +has xmlXPathContext $.raw handles<SetStructuredErrorFunc> .= new;
Shouldn't then be any need for the TWEAK proto.
TWEAK
Thanks.
@Xliff Thanks. Like the ideas, but not passing the test suite yet. How about just making the raw attribute public, ie:
Shouldn't then be any need for the
TWEAK
proto.