Better fix for bogus duplicate identifier in module exports (#24491)

This commit is contained in:
Nathan Shively-Sanders
2018-05-30 09:59:14 -07:00
committed by GitHub
parent fc3e88e26f
commit 22cdff59e4
4 changed files with 53 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
// @checkJs: true
// @allowJS: true
// @noEmit: true
// @Filename: bug24024.js
// #24024
var wat = require('./bug24024')
module.exports = class C {}
module.exports.D = class D { }