[ 
https://issues.apache.org/jira/browse/THRIFT-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970113#action_12970113
 ] 

Richard Low commented on THRIFT-1020:
-------------------------------------

Sorry, I messed up.  As it was, out << value->get_doub)e() would not append a 
".0" if the double was in fact an integer, but would otherwise.  The updated 
patch fixes this.

> OCaml compiler generates invalid OCaml
> --------------------------------------
>
>                 Key: THRIFT-1020
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1020
>             Project: Thrift
>          Issue Type: Bug
>          Components: OCaml - Compiler
>    Affects Versions: 0.7
>            Reporter: Richard Low
>         Attachments: ocaml-fixes-2.patch, ocaml-fixes.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to