[ 
https://issues.apache.org/jira/browse/THRIFT-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-5669.
--------------------------------
    Fix Version/s: 0.18.0
       Resolution: Fixed

> "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
>             Fix For: 0.18.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The following code may produce incorrect code (depending on the target 
> language implementation) due to the unexpected "required" keyword.
> {code:java}
> exception foobar {
> }
> service foo {
>   void bar() throws (1: required foobar e)    
> }
> {code}
> produces for example with a netstd target
> {code:java}
> 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)

Reply via email to