[
https://issues.apache.org/jira/browse/THRIFT-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255221#comment-14255221
]
Hudson commented on THRIFT-2901:
--------------------------------
FAILURE: Integrated in Thrift #1413 (See
[https://builds.apache.org/job/Thrift/1413/])
THRIFT-2901 Fix for generated TypeScript functions + indentation of JavaScript
maps (roger: rev 6d9a3ca7d912482fb1321efae80a07eff9de2b85)
* lib/ts/thrift.d.ts
* compiler/cpp/src/generate/t_js_generator.cc
> 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.3
>
>
> 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)