fix regression with completion records for assignment expressions - fixes #1204

This commit is contained in:
Sebastian McKenzie
2015-04-11 18:13:47 -07:00
parent e362512af3
commit 1a30f1aafc
5 changed files with 33 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
var x, y;
[x, y] = [1, 2];

View File

@@ -0,0 +1,7 @@
"use strict";
var x, y;
var _temp = [1, 2];
x = _temp[0];
y = _temp[1];
_temp;

View File

@@ -1,5 +1,5 @@
"use strict";
var _temp, _temp2;
var _temp;
console.log((_temp = [123], _temp2 = babelHelpers.slicedToArray(_temp, 1), x = _temp2[0], _temp));
console.log((_temp = [123], x = _temp[0], _temp));