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

Haxe 4.30 emits "Local variable retval used without being initialized" on generated code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.19.0
    • Haxe - Compiler
    • None
    • Patch Available

    Description

      struct Foo {}
      
      service Bar {
        Foo FooBar()
      }
      

      produces "Local variable retval used without being initialized" in the generated service call helper function for FooBar() when compiled with Haxe 4.30.

      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