065 tor declaration without body compiles

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

pub tor open { path: string } -> string<open!>
pub tor append { handle: string<!open>, text: string } -> string<open!>
pub tor close { handle: string<!open> }
pub tor say { text: string }

Expected output

pub tor open { path: string } -> string<open!>
pub tor append { handle: string<!open>, text: string } -> string<open!>
pub tor close { handle: string<!open> }
pub tor say { text: string }

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")

Test Configuration

MUST_RUN