Skip to content

v2.11.1 — s7-review method_on_missing_class

Choose a tag to compare

@Data-Wise Data-Wise released this 13 Jun 21:29
· 155 commits to main since this release
c0b2343

Patch — 41 commands, no surface change. Closes the one r:s7-review --runtime family deferred in v2.11.0.

method_on_missing_class

The method-dispatch family now flags a method whose dispatch class has no resolvable namespace binding (an unreachable method — e.g. an inline new_class() left in a method() call). The runtime sibling of dead_generic.

Refuted the v2.11.0 "not decidable from the registry alone" deferral: each S7_method carries attr(., "signature") (its dispatch class objects), so resolvability is decided by object identity over the package's classes (not @name — the adversarial review caught a binding≠@name false positive on the idiomatic Foo <- new_class("Bar")). Engine emits structured {generic, class} output. Base types, imported classes, multi-dispatch, unions, inheritance all confirmed not-flagged.

Gates

pytest 349 / 2 skipped · test-all 41/41 · version_sync + gen_lib_reference clean · mkdocs --strict clean.

Full notes: CHANGELOG