You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2021/04/09 21:04:00 UTC
[jira] [Commented] (THRIFT-5395) inconsistent treatment of methods
ending in "Async"
[ https://issues.apache.org/jira/browse/THRIFT-5395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318325#comment-17318325 ]
Jens Geyer commented on THRIFT-5395:
------------------------------------
Fun fact. It only works for any other function because {{correct_function_name_for_async()}} did the exact opposite from what was planned.
> inconsistent treatment of methods ending in "Async"
> ---------------------------------------------------
>
> Key: THRIFT-5395
> URL: https://issues.apache.org/jira/browse/THRIFT-5395
> Project: Thrift
> Issue Type: Bug
> Components: netstd - Compiler
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Priority: Major
>
> {code}
> service MyService {
> void TestXsync()
> void TestAsync()
> }
> {code}
> While the first works, the second does not::
> {code}
> await OutputProtocol.WriteMessageBeginAsync(new TMessage("TestXsync", ...
> await OutputProtocol.WriteMessageBeginAsync(new TMessage("TestAsyncAsync", ...
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)