064 scope vocabulary

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

open(path: string)
append(handle: string<!open>, text: string)
close(handle: string<!open>)
say(text: string)
NOT FOUND

Expected output

open(path: string)
append(handle: string<!open>, text: string)
close(handle: string<!open>)
say(text: string)
NOT FOUND

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "notes", source: open(10) append(1) close(1) say(1))
flow ~scope-vocabulary click a branch to expand · @labels scroll to their anchor
scope-vocabulary (name: "notes")
flow ~scope-vocabulary click a branch to expand · @labels scroll to their anchor
scope-vocabulary (name: "no-such-scope")

Test Configuration

MUST_RUN