Skip to content

Instantly share code, notes, and snippets.

@nik-kor
Created August 15, 2013 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nik-kor/6241291 to your computer and use it in GitHub Desktop.
Save nik-kor/6241291 to your computer and use it in GitHub Desktop.
buggy node.js compilation in thrift@0.9.0
include "foo.thrift"
//
// Autogenerated by Thrift Compiler (0.9.0)
//
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
//
var Thrift = require('thrift').Thrift;
var ttypes = module.exports = {};
//
// Autogenerated by Thrift Compiler (1.0.0-dev)
//
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
//
var Thrift = require('thrift').Thrift;
var foo_ttypes = require('./foo_types')
var ttypes = module.exports = {};
bar_types_BUGGY.js missed
`var foo_ttypes = require('./foo_types')`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment