Skip to content

Commit

Permalink
Make sure it resolves #2683
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Feb 17, 2019
1 parent 5eec80a commit 141654d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/function/samples/deconflict-deconflicted/_config.js
@@ -0,0 +1,3 @@
module.exports = {
description: 'also deconflict variables which already appear to be deconflicted (#2683)'
};
5 changes: 5 additions & 0 deletions test/function/samples/deconflict-deconflicted/dep.js
@@ -0,0 +1,5 @@
var value = '1';

export function x(value$1) {
return value$1 + value;
}
3 changes: 3 additions & 0 deletions test/function/samples/deconflict-deconflicted/main.js
@@ -0,0 +1,3 @@
import { x } from './dep.js';

assert.equal(x('name'), 'name1');

0 comments on commit 141654d

Please sign in to comment.