thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-5254) Member name cannot be Isset (unless it is an "required" member)
Date Wed, 15 Jul 2020 22:24:00 GMT
Jens Geyer created THRIFT-5254:
----------------------------------

             Summary: 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


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)

Mime
View raw message