pub fn parse_wrapper_cast(
params: &[SExpr],
roles: &[RoleDecl],
) -> Result<Cast, R6Violation>Expand description
Parse a with-roles wrapper’s parameter list into a Cast (CON-601,
REQ-628): the bindings list, optionally followed by
:dialect "f1220<hex64>" in that fixed position. Any other shape —
extra fields, a misplaced pin, an unknown keyword — is rejected, never
repaired (LangSec principle 4).