Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: test/mjsunit/harmony/debug-step-destructuring-bind.js

Issue 1744123003: [debugger] fix break locations for assignments and return. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixes and addressed comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/harmony/debug-step-destructuring-assignment.js ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/debug-step-destructuring-bind.js
diff --git a/test/mjsunit/harmony/debug-step-destructuring-bind.js b/test/mjsunit/harmony/debug-step-destructuring-bind.js
index a78431bb027c28a24984184518c7f305c450672b..b838179d10a6db1324e1d55cc434be47bbc97372 100644
--- a/test/mjsunit/harmony/debug-step-destructuring-bind.js
+++ b/test/mjsunit/harmony/debug-step-destructuring-bind.js
@@ -98,13 +98,13 @@ function test() {
assertEquals([3, 4, 6], [a, b, c]); // B45
}
- var { // B46
- x: a, // B47
- y: b = 9 // B48
+ var {
+ x: a, // B46
+ y: b = 9 // B47
} = { x: 4 };
- assertEquals([4, 9], [a, b]); // B49
-} // B50
+ assertEquals([4, 9], [a, b]); // B48
+} // B49
test();
-Debug.setListener(null); // B51
+Debug.setListener(null); // B50
assertNull(exception);
« no previous file with comments | « test/mjsunit/harmony/debug-step-destructuring-assignment.js ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698