012 redefine resolves

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

--- bridge open
  defined shout
  shout -> {"branch":"","value":"echo:hi"}
  defined shout
--- redefined
  shout -> {"branch":"","value":"exclaim:hi"}
--- done

Expected output

--- bridge open
  defined shout
  shout -> {"branch":"","value":"echo:hi"}
  defined shout
--- redefined
  shout -> {"branch":"","value":"exclaim:hi"}
--- done

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "api", source: echo(1) exclaim(1))
subflow ~do-define click a branch to expand · @labels scroll to their anchor
define (br, source)
subflow ~run-shout click a branch to expand · @labels scroll to their anchor
run (br, source: "shout(text: \"hi\")")
flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "redefine", scope: "api")

Test Configuration

MUST_RUN