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

OCaml compiler generates invalid OCaml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.6
    • Component/s: OCaml - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      There are a couple of bugs in the current thrift that cause invalid OCaml to be generated. One problem is that floats can be written without a decimal point. The other is that the copy type in the mli file is wrong.

      The attached patch fixes both of the issues.

        Attachments

        1. ocaml-fixes-2.patch
          2 kB
          Richard Low
        2. ocaml-fixes.patch
          1 kB
          Richard Low

          Activity

            People

            • Assignee:
              richardlow Richard Low
              Reporter:
              richardlow Richard Low
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: