thing-testkit: fixtures.rs names the Slot arm so the exhaustive Node match builds
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
26cea1c718
commit
872967b4c9
1 changed files with 3 additions and 0 deletions
|
|
@ -222,9 +222,12 @@ fn arm(node: &Node) -> &'static str {
|
|||
Node::Plot(_) => "Plot",
|
||||
Node::Embed(_) => "Embed",
|
||||
Node::Use(_) => "Use",
|
||||
Node::Slot(_) => "Slot",
|
||||
}
|
||||
}
|
||||
|
||||
// The thirteen arms the fixtures place. Slot (arm 13) is not among them: a Slot stands only in a composition body,
|
||||
// and placing one in f09 is resolve's cut, not the fixtures'.
|
||||
const ALL_ARMS: [&str; 13] = [
|
||||
"Box", "Button", "Embed", "Image", "Overlay", "Plot", "Repeat", "Select", "Slider", "Text", "TextInput", "Toggle",
|
||||
"Use",
|
||||
|
|
|
|||
Loading…
Reference in a new issue