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

OCaml compiler generates invalid OCaml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.6
    • OCaml - Compiler
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: