You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2014/12/21 17:42:13 UTC

[jira] [Resolved] (THRIFT-2901) Fix for generated TypeScript functions + indentation of JavaScript maps

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

Roger Meier resolved THRIFT-2901.
---------------------------------
    Resolution: Fixed
      Assignee: Roger Meier

Thanks Pascal!

> 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
>            Assignee: Roger Meier
>              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)