diff --git a/capnp-rpc/test/test.capnp b/capnp-rpc/test/test.capnp index 26efb9bd6..cbd34a932 100644 --- a/capnp-rpc/test/test.capnp +++ b/capnp-rpc/test/test.capnp @@ -102,6 +102,10 @@ interface TestPipeline { struct Box { cap @0 :TestInterface; + + foo :group { + capInGroup @1 :TestInterface; + } } } diff --git a/capnp-rpc/test/test.rs b/capnp-rpc/test/test.rs index 35d09150d..03c5da291 100644 --- a/capnp-rpc/test/test.rs +++ b/capnp-rpc/test/test.rs @@ -286,6 +286,10 @@ fn basic_pipelining() { let promise = request.send(); + // This is just here to check that code generation for pipelines + // inside of groups works correctly. + let _ = promise.pipeline.get_out_box().get_foo().get_cap_in_group(); + let mut pipeline_request = promise.pipeline.get_out_box().get_cap().foo_request(); pipeline_request.get().set_i(321); let pipeline_promise = pipeline_request.send(); diff --git a/capnpc/test/test.capnp b/capnpc/test/test.capnp index 5dfa7f570..39fdbf906 100644 --- a/capnpc/test/test.capnp +++ b/capnpc/test/test.capnp @@ -803,4 +803,4 @@ struct Issue260(T, Q) { val1 @2 :Q; val2 @3 :Int8; } -} \ No newline at end of file +}