bynk.history.outside_property
Error History[Agent] appears outside a property's for all binding — it is a test-only generator, not a value type (testing track slice 7, ADR 0155).
History[Agent] is a generator, not a value type: it stands for a run the test runner makes for a for all binding. So it may appear only as the type of that binding inside a property, never in a function signature, a field or a let. Move the check into a property and assert over run.
Example
fn peek(w: History[Wallet]) -> Int { 0 } // ✗ not a value type
// tests/t.test.bynkfor all run: History[Wallet] { … } // ✓ in a `property`In the Book
See also
- Every code in its category, History properties, on the diagnostic index.
bynk explain bynk.history.outside_propertyshows the same from the installed toolchain, without a network.