is broken for some prelude values, specifically those containing component values and not just tokens. The prelude must be "flattened", with e.g. tokens, in order to even be usable to normalize_input and subsequently being turned to a token stream for parsing [as a selector list].
MyPy should have uncovered this issue, but there's no type hinting in the initialization module, another omission hiding an issue.
Unfortunately, the
QualifiedRule.selector_list
accessor property getter athttps://github.com/amn/csspring/blob/5e0e19339061ad376619e8ec7a18c7bcc913d31a/src/csspring/__init__.py#L10-L11
is broken for some prelude values, specifically those containing component values and not just tokens. The prelude must be "flattened", with e.g.
tokens
, in order to even be usable tonormalize_input
and subsequently being turned to a token stream for parsing [as a selector list].MyPy should have uncovered this issue, but there's no type hinting in the initialization module, another omission hiding an issue.