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/18 00:44:14 UTC

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

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


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.


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

Posted by "T Jake Luciani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

T Jake Luciani reassigned THRIFT-460:
-------------------------------------

    Assignee: T Jake Luciani

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


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

Posted by "T Jake Luciani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

T Jake Luciani resolved THRIFT-460.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.1
         Assignee: Matthieu Imbert  (was: T Jake Luciani)

committed thanks!

> 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: Matthieu Imbert
>             Fix For: 0.1
>
>         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.


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

Posted by "T Jake Luciani (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700625#action_12700625 ] 

T Jake Luciani commented on THRIFT-460:
---------------------------------------

Not sure I understand. Could you post an example of a constant struct as defined in the IDL?
const struct{...} isn't possible.



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


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

Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Imbert updated THRIFT-460:
-----------------------------------

    Attachment: patch

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


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

Posted by "Matthieu Imbert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700680#action_12700680 ] 

Matthieu Imbert commented on THRIFT-460:
----------------------------------------

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.