diff --git a/server/main.nim b/server/main.nim index 99e007c..6eebef4 100644 --- a/server/main.nim +++ b/server/main.nim @@ -1002,7 +1002,7 @@ proc dispatch(conn: Conn, env: Envelope) {.gcsafe.} = return else: - # A catalogue intent whose slice has not landed yet (#20-#25). It still gets its one ack, with + # A catalogue intent whose slice has not landed yet (#21-#25). It still gets its one ack, with # a static code and no state; `unknown-type` is the honest answer until the handler exists # (DESIGN 6.1, slice-3 note). ackErr(conn, env.reqId, CodeUnknownType) diff --git a/server/protocol.nim b/server/protocol.nim index 86c4fe8..3c315be 100644 --- a/server/protocol.nim +++ b/server/protocol.nim @@ -173,8 +173,8 @@ proc nackFrame*(reqId, n: int, code: string): JsonNode = %*{"t": "ack", "reqId": reqId, "ok": false, "code": code, "n": n} proc nackMoveFrame*(reqId, n: int, x, y: float): JsonNode = - ## The uniform move refusal of DESIGN 5.5/T9: `ok:false, pos` and NO code. Unused until - ## slice 5's `token.move`; kept with the frame builders so the shape has one definition. + ## The uniform move refusal of DESIGN 5.5/T9: `ok:false, pos` and NO code. `token.move` sends it + ## from main.nim; it lives here so the shape has one definition. %*{"t": "ack", "reqId": reqId, "ok": false, "pos": [x, y], "n": n} proc errorFrame*(code: string, n: int): JsonNode =