fix duplicate comments on property key shorthands - fixes #234
This commit is contained in:
4
test/fixtures/transformation/es6-property-name-shorthand/comments/actual.js
vendored
Normal file
4
test/fixtures/transformation/es6-property-name-shorthand/comments/actual.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
const A = 'a';
|
||||
const o = {
|
||||
A // comment
|
||||
};
|
||||
4
test/fixtures/transformation/es6-property-name-shorthand/comments/expected.js
vendored
Normal file
4
test/fixtures/transformation/es6-property-name-shorthand/comments/expected.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
const A = 'a';
|
||||
const o = {
|
||||
A: A // comment
|
||||
};
|
||||
Reference in New Issue
Block a user