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

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

Pascal Schweizer created THRIFT-2901:
----------------------------------------

             Summary: 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
             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)