Ross Light
2017-08-27 03:31:11 UTC
Hopefully a straightforward question: why does `capnp compile` have a
special case to error out
<https://github.com/capnproto/capnproto/blob/cc74158d90de65349b191dd93392003179823ae3/c%2B%2B/src/capnp/compiler/node-translator.c%2B%2B#L972>
on List(AnyPointer) and variants thereof? I don't have a burning need to
use it in a real schema â I came across this while I was trying to unit
test edge cases in some new go-capnproto2 code â but it surprised me. I
dug around in git history and it seems like it's been around since 2013
<https://github.com/capnproto/capnproto/commit/34e70d5acdceba9494025f9097feae599053b30a>,
and I don't see anything that helps me with rationale. I would expect it
to act as a non-composite pointer list.
Thanks for any pointers!
-Ross
special case to error out
<https://github.com/capnproto/capnproto/blob/cc74158d90de65349b191dd93392003179823ae3/c%2B%2B/src/capnp/compiler/node-translator.c%2B%2B#L972>
on List(AnyPointer) and variants thereof? I don't have a burning need to
use it in a real schema â I came across this while I was trying to unit
test edge cases in some new go-capnproto2 code â but it surprised me. I
dug around in git history and it seems like it's been around since 2013
<https://github.com/capnproto/capnproto/commit/34e70d5acdceba9494025f9097feae599053b30a>,
and I don't see anything that helps me with rationale. I would expect it
to act as a non-composite pointer list.
Thanks for any pointers!
-Ross
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.