You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Matthieu Imbert (JIRA)" <ji...@apache.org> on 2009/04/20 09:22:47 UTC

[jira] Issue Comment Edited: (THRIFT-460) perl compiler generates constant structs without commas to separate fields

    [ 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:22 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:

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

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

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