Tim Popham

Results 5 comments of Tim Popham

The problem will pop up in generated code. The Cap'n Proto schema language admits circular imports, so your generated code will encounter circular imports like the following: ```capnp // file1.capnp...

Your struct-typed constants currently call `capnp.rawPointer` to yield a Pointer instance, so circular imports will work fine as currently implemented. If you intend to ever construct the actual struct types,...

I've added a hypothetical export of the module-scoped constant to #116. Running tests as written clobbered the hand coded additions, so I've altered gulp's `test:capnpc-js` task to stop the task...

Here's my attempt if anybody finds it helpful: https://github.com/capnp-js/utf8/blob/master/src/encode.js.

In a thread of yours from a while back @jeffmo left a pretty detailed comment: https://github.com/facebook/flow/issues/1996#issuecomment-230919868. Doesn't the `.js.flow` extension meet your needs?