Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Hi there,
a.thrift
include "b.c.thrift"
b.c.thrift
# nada
$ thrift -r --gen js:node a.thrift
gen-nodejs/a_types
// // Autogenerated by Thrift Compiler (0.9.2) // // DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING // var thrift = require('thrift'); var Thrift = thrift.Thrift; var Q = thrift.Q; var b.c_ttypes = require('./b.c_types') var ttypes = module.exports = {};
One variable in the auto-generated thrift output contains a dot, which is not valid JavaScript and will not compile.
Cheers,
Attachments
Attachments
Issue Links
- relates to
-
THRIFT-1383 Spaces in thrift input file lead to incorrectly generated code
- Open