Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5254

Member name cannot be Isset (unless it is an "required" member)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • netstd - Compiler
    • None
    • Patch Available

    Description

      This produces uncompileable code

      struct ReservedMemberName { 1: optional i32 Isset }
      

      Reason is that Isset conflicts with the internally generated class resulting in CS0542 "member names cannot be the same as their enclosing type"

      Attachments

        Issue Links

          Activity

            People

              jensg Jens Geyer
              jensg Jens Geyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m