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/07/31 21:56:00 UTC
[jira] [Updated] (THRIFT-5445) "cancellationToken" cannot be used
as argument name
[ https://issues.apache.org/jira/browse/THRIFT-5445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-5445:
-------------------------------
Summary: "cancellationToken" cannot be used as argument name (was: cancellationToken cannmot be used as argument name)
> "cancellationToken" cannot be used as argument name
> ---------------------------------------------------
>
> Key: THRIFT-5445
> URL: https://issues.apache.org/jira/browse/THRIFT-5445
> Project: Thrift
> Issue Type: Bug
> Components: netstd - Compiler
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Priority: Major
>
> Because all service methods get an implicit extra parameter named "cancellationToken", the following IDL generates code that cannot be compiled.
> {code}
> service foo {
> void bar( 1: i32 cancellationToken)
> }
> {code}
> Compiler Error CS0100 The parameter name 'cancellationToken' is a duplicate.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)