[
https://issues.apache.org/jira/browse/THRIFT-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-5669:
-------------------------------
Priority: Minor (was: Major)
> "required" keyword is illegal in a "throws" clause
> ---------------------------------------------------
>
> Key: THRIFT-5669
> URL: https://issues.apache.org/jira/browse/THRIFT-5669
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (General)
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Priority: Minor
>
> The following code may produce incorrect (code depending on the target
> language implementation) due to the unexpected "required" key word.
> {code}
> exception foobar {
> }
> service foo {
> void bar() throws (1: required foobar e)
> }
> {code}
> produces for example with a netstd target
> {code}
> foo.cs(85,16,85,23): error CS1061: "foo.InternalStructs.bar_result"
> foo.cs(355,19,355,26): error CS1061: "foo.InternalStructs.bar_result"
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)