diff --git a/lib/6to5/types/index.js b/lib/6to5/types/index.js index d403372d4b..175fa2c117 100644 --- a/lib/6to5/types/index.js +++ b/lib/6to5/types/index.js @@ -185,6 +185,8 @@ t.getIds = function (node, map) { search = search.concat(id.specifiers); } else if (t.isMemberExpression(id)) { search.push(id.object); + } else if (t.isParenthesizedExpression(id)) { + search.push(id.expression); } }