Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixes #490 after 2a85fea collected the node IDs incorrectly. This uses the list of IDs after `resolveName()` has recursively scanned the nodeMap and gathered all the IDs in the capnp file. The previous commit used only the top-level file ID. For example, https://github.com/capnproto/go-capnp/blob/main/flowcontrol/internal/test-tool/writer.capnp.go now gets generated with: ``` func RegisterSchema(reg *schemas.Registry) { reg.Register(&schemas.Schema{ String: schema_aca73f831c7ebfdd, Nodes: []uint64{ 0xf82e58b4a78f136b, }, Compressed: true, }) } ``` This commit fixes the above generated code, and includes the following: `0x80b8cd5f44e3c477,` `0xd939de8c6024e7f8,`
- Loading branch information