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

Pascal Schweizer updated THRIFT-2901:
-------------------------------------
    Description: 
The currently generated TypeScript functions that have no parameters, but 
include a callback, contain an extra comma in the parameter list.

Example: function(, callback: Function){...}

This patch fixes this problem and also corrects the indentation for generated 
JavaScript maps, which looked different from the rest.

  was:
The currently generated TypeScript functions that have no parameters, but 
include a callback, contain an extra comma in the parameter list.

Example: function(, callback: Function) {...}

This patch fixes this problem and also corrects the indentation for generated 
JavaScript maps, which looked different from the rest.


> Fix for generated TypeScript functions + indentation of JavaScript maps
> -----------------------------------------------------------------------
>
>                 Key: THRIFT-2901
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2901
>             Project: Thrift
>          Issue Type: Bug
>          Components: JavaScript - Compiler
>    Affects Versions: 0.9.1
>            Reporter: Pascal Schweizer
>              Labels: bug, javascript, typescript
>             Fix For: 0.9.2
>
>
> The currently generated TypeScript functions that have no parameters, but 
> include a callback, contain an extra comma in the parameter list.
> Example: function(, callback: Function){...}
> This patch fixes this problem and also corrects the indentation for generated 
> JavaScript maps, which looked different from the rest.



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

Reply via email to