diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2019-05-04 20:08:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-04 20:08:57 +0800 |
commit | 11cdab745d29313a4e1799c65d13f7d6d5a45938 (patch) | |
tree | 336375b5eac05211b5ea2c77aecc37069a3753ba /test/input/issue-3040/input.js | |
parent | a89d424a0bd85c80a6b49b6585143ff723a243ca (diff) | |
download | tracifyjs-11cdab745d29313a4e1799c65d13f7d6d5a45938.tar.gz tracifyjs-11cdab745d29313a4e1799c65d13f7d6d5a45938.zip |
fix corner cases in `sourceMap` (#3397)
fixes #3255
fixes #3294
Diffstat (limited to 'test/input/issue-3040/input.js')
-rw-r--r-- | test/input/issue-3040/input.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/input/issue-3040/input.js b/test/input/issue-3040/input.js new file mode 100644 index 00000000..6515dcbd --- /dev/null +++ b/test/input/issue-3040/input.js @@ -0,0 +1,11 @@ +function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } + +var _require = require("bar"), + foo = _require.foo; + +var _require2 = require("world"), + hello = _require2.hello; + +foo.x.apply(foo, _toConsumableArray(foo.y(hello.z))); + +//# sourceMappingURL=input.js.map
\ No newline at end of file |