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

args/result classes not found when no namespace is set

    XMLWordPrintableJSON

Details

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

    Description

      The args/results helper classes are not found by the Haxe compiler if no namespaces are set in the IDL. With Haxe, classes are located via:

      (1) the file name matching the class name
      (2) wildcard namespace.* imports.

      With an empty namespace only the first method is used. Because the helper classes are located within the (e.g.) MethodCall_Impl.hx file instead the MethodCall_args.hx file, they are not found in that case.

      Changes:

      • generate one source file per Haxe class
      • ensure correctly capitalized names in all cases

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: