Tolstokulakov Nikolay created THRIFT-3457:
---------------------------------------------

             Summary: thrift client codegen fails 
                 Key: THRIFT-3457
                 URL: https://issues.apache.org/jira/browse/THRIFT-3457
             Project: Thrift
          Issue Type: Bug
          Components: D - Compiler
            Reporter: Tolstokulakov Nikolay


thrift/source/thrift/codegen/client.d-mixin-86(272,19): Error: function 
expected before (), not skip of type int

This happens if I have parameter with name 'skip' in my interface:

 enum methodMeta = [
    TMethodMeta(`getBrands`, 
      [TParamMeta(`limit`, 1), TParamMeta(`skip`, 2)]
    ), ....

As workaround  I rename parameter, but compiler error is not very clear in this 
case.



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

Reply via email to