History log of /tonic/tests/ambiguous_methods/src/main.rs (Results 1 – 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v0.12.3, v0.12.2, v0.12.1, v0.12.0, v0.11.0, v0.10.2, v0.10.1, v0.10.0, v0.9.2, v0.9.1, v0.9.0, v0.8.4, v0.8.3, v0.8.2, v0.8.1, v0.8.0, v0.7.2, v0.7.1, v0.7.0, v0.6.2, v0.6.1, v0.6.0, v0.5.2, v0.5.1, v0.5.0, v0.4.3, v0.4.2, v0.4.1, v0.4.0, v0.3.1, v0.3.0, v0.2.1
# 5d56daa7 09-Apr-2020 Yonathan Randolph <[email protected]>

fix(build): Remove ambiguity in service method call (#327)

When calling methods on Arc<MyService> where the method is also defined on Arc (e.g. drop and clone), calling inner.#method_ident(request)

fix(build): Remove ambiguity in service method call (#327)

When calling methods on Arc<MyService> where the method is also defined on Arc (e.g. drop and clone), calling inner.#method_ident(request) will actually attempt to call the Arc method instead of the method on the service, resulting in a compile error. This change removes the ambiguity by dereferencing the inner Arc.

show more ...