You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kaspar Fenner (JIRA)" <ji...@apache.org> on 2015/07/16 20:52:04 UTC

[jira] [Updated] (THRIFT-3248) TypeScript: additional comma in method signature without parameters

     [ https://issues.apache.org/jira/browse/THRIFT-3248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaspar Fenner updated THRIFT-3248:
----------------------------------
    Attachment: 0001-THRIFT-3248-Remove-additional-comma-in-TypeScript-me.patch

> TypeScript: additional comma in method signature without parameters
> -------------------------------------------------------------------
>
>                 Key: THRIFT-3248
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3248
>             Project: Thrift
>          Issue Type: Bug
>          Components: JavaScript - Compiler
>    Affects Versions: 0.9.2
>            Reporter: Kaspar Fenner
>              Labels: patch
>             Fix For: 0.9.3
>
>         Attachments: 0001-THRIFT-3248-Remove-additional-comma-in-TypeScript-me.patch
>
>
> The generated TypeScript code has an issue with methods with no parameters. The method signature shows an additional comma character (',') in the parameter list which have a callback argument.
> {code}
>   /**
>    * A method definition....
>    */
>   ping(): void;
>   /**
>    * A method definition....
>    */
>   ping(, callback: Function): JQueryXHR;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)