You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/04/24 23:35:28 UTC

[jira] [Comment Edited] (THRIFT-2495) Node.js generator escaping

    [ https://issues.apache.org/jira/browse/THRIFT-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980324#comment-13980324 ] 

Jens Geyer edited comment on THRIFT-2495 at 4/24/14 9:34 PM:
-------------------------------------------------------------

I have tested it using both trunk and 0.9.1 but it seems to work as expected. A line break within the string, as in your initial comment, produces a compiler error with both versions. Could you test with 0.9.1 again? Otherwise please add a sample thrift file that we can use to reproduce the problem. 



was (Author: jensg):
I have tested it using both trunk and 0.9.1 but it seems to work as expected. A line break within the string, as in your initial comment, produces a compiler error with that version. Could you test with 0.9.1 again? Otherwise please add a sample thrift file that we can use to reproduce the problem. 


> Node.js generator escaping
> --------------------------
>
>                 Key: THRIFT-2495
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2495
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Compiler
>    Affects Versions: 0.9
>            Reporter: John Vines
>
> In my .thrift file, I have an optional field with a default value of "\\". In java generated code it is properly set to "\\", but in the node.js code it results in "\" which results in an error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)