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

Matthieu Imbert edited comment on THRIFT-460 at 4/20/09 12:27 AM:
------------------------------------------------------------------

Here is an example of thrift IDL that compiles to correct python code but 
compiles to incorrect perl code:

{noformat}
struct Timestamp {
  1: i32 s,
  2: i32 micro_s
}

const Timestamp NULLTIMESTAMP = { 's':-2147483648, 'micro_s':0 }
{noformat}

      was (Author: mimbert):
    Here is an example of thrift IDL that compiles to correct python code but 
compiles to incorrect perl code:

{noformat}
struct Timestamp {
  1: i32 s
  2: i32 micro_s
}

const Timestamp NULLTIMESTAMP = { 's':-2147483648, 'micro_s':0 }
{noformat}
  
> perl compiler generates constant structs without commas to separate fields
> --------------------------------------------------------------------------
>
>                 Key: THRIFT-460
>                 URL: https://issues.apache.org/jira/browse/THRIFT-460
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Perl)
>         Environment: linux debian i386
>            Reporter: Matthieu Imbert
>            Assignee: T Jake Luciani
>         Attachments: patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> perl compiler generates constant structs without commas to separate fields

-- 
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