commit | 7d67bdd5e49ca5c10e59bb0ca4cdc2774227c7ee | [log] [tgz] |
---|---|---|
author | Taylor Cramer <cramertj@pigweed.infra.roller.google.com> | Thu Aug 18 15:49:03 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 18 15:49:03 2022 +0000 |
tree | d0d46c90b33f8600bb80b9d70a53763877b6087b | |
parent | 918494830e31ca91964a6199f2fbf99b5bc2eb6c [diff] |
[roll pigweed] pw_rpc: Error on service and method with same name Before this change, services contianing a method with the same name as the service (e.g. `service Echo { rpc Echo... }`) would fail to compile with the error "constructor cannot have a return type". This CL adds a nicer error in this case, and does not yet introduce a fallback path for names. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107290 https://pigweed.googlesource.com/pigweed/pigweed pigweed Rolled-Commits: 2005fc23aa467a0..36b605a10433d6f Roller-URL: https://ci.chromium.org/b/8805480002100109217 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I4522e6fda2236677db4461f6755636a61039e7be Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/107332 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>