Dnia 2014-09-11, o godz. 00:20:21
Michał Górny <[email protected]> napisał(a):

> 4. Checks can inherit eclasses. This goes opposite the generic rule
> but allows us to save some code duplication. For example, we can get
> paths from eclasses instead of reinventing them. It's also relatively
> safe since we're in a subshell.

Ok, got a first issue with that. Since we're making all metadata
variables readonly, inheriting any more complex eclass will lead
to a lot of 'readonly variable' errors. And since bash is utterly,
endlessly stupid I don't know a way to remove the 'readonly' flag
while preserving all other variables -- maybe other than some magic
play with declare and filtering.

How much do we care? Do we declare that only utility eclasses can be
inherited (without metadata var exports and phases)?

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to