# demo30 — evaluator set-paths, function copies, list scrollbars (2026-11-28)

Build marker: `demo30-2026-11-28`.

## Baseline (all green)

| check | result |
|---|---|
| golden suite, native Linux | **88/88** |
| golden suite, Windows PE under Wine | **88/88** |
| re-bol.com corpus (20 sections) | **325 snippets, 0 errors** (Linux + Wine) |
| examples / net / ports (`--mix`) smoke | PASS native + Wine |
| GUI screenshot regression | 3/3, 0.00 % diff (text-list baseline renewed) |

## 1. R2's "function refinement set-path": `obj/func/ref: value`

The desktop's own code uses this idiom heavily (`sld/resize/y: size/y`,
`pane/3/offset: ...`), and the clone silently treated it as a plain field
assignment, so VID's scroller never laid out its children.  Implemented in
`eval.c` for set-paths whose intermediate element resolves to a function:

```
a: make object! [got: none f: func [v /x /y] [got: reduce [v x y]]]
a/f/x: 7        -> got = [7 true none]      (value is the argument)
a/f/x/y: 11     -> got = [11 true true]
a/f: 5          -> plain field assignment (no call)
```

## 2. Set-path through a series (`pane/2/size: 16x90`)

`obj/block/n/field: value` now indexes the series first (blocks and parens),
then sets the field — the VID idiom for positioning a face inside a pane
block.

## 3. `make function!` copies its spec and body

Probed with the oracle: appending to the block passed as a body does not
change the moulded function.  The clone now copies spec and body (recursing
into nested blocks and paths, keeping MOLD's line-break flags), which makes
a function immune to the later in-place binding of a shared module/style
block.  Without this the slider's inherited `redrag` kept a *prototype*
binding for `axis`, so `make-face 'slider` raised `invalid-path`.

## 4. `make <object-prototype>` rebinds copied block fields

`do inst/blk` inside a block field copied from a prototype must act on the
instance (`make proto [v: 2]` then `do inst/blk` prints 2).  The clone's deep
copy now rebinds words that pointed at the prototype.

## 5. Result: text-list / request-list scrollbar arrows

With the two evaluator fixes plus the earlier `resize` chain, the scroller's
`resize` finally runs, calls `do pane/2/init`/`do pane/3/init`, the ARROW
style builds `effect: [fit arrow <colour> 0.7 rotate 0|180]`, and the clone
draws the up/down buttons.  Row selection (`svvc/field-select` highlight)
already worked and now shows correctly next to the arrows; the GUI baseline
`tests/gui-baseline/text-list.png` was renewed.

## 6. Tests

New golden `88-eval-path-forms` pins all of the above (set-path calls with
one/two refinements, plain assignment form, `obj/f/x 7` call form, series
index set-paths, block-key set-paths, function body copy, inherited function
layout).  88/88 on Linux and Wine.
