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

Jens Geyer resolved THRIFT-5254.
--------------------------------
    Fix Version/s: 0.14.0
       Resolution: Fixed

> Member name cannot be Isset (unless it is an "required" member)
> ---------------------------------------------------------------
>
>                 Key: THRIFT-5254
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5254
>             Project: Thrift
>          Issue Type: Bug
>          Components: netstd - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Minor
>             Fix For: 0.14.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This produces uncompileable code
> {code}
> struct ReservedMemberName { 1: optional i32 Isset }
> {code}
> Reason is that Isset conflicts with the internally generated class resulting 
> in CS0542 "member names cannot be the same as their enclosing type"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to