From 4d99099d1ab69183325a85bb5c4b45867a43b15b Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Thu, 31 Jan 2019 11:01:16 -0800 Subject: [PATCH] Ensure that marshalArgs pulls wildcard info value from __data It currently pulls the value from `changedProps` rather than __data, meaning it could provide stale data for re-entrant changes. --- lib/mixins/property-effects.js | 48 ++++++++++++++---------------- test/unit/path-effects-elements.js | 36 ++++++++++++++++++++++ test/unit/path-effects.html | 11 +++++++ 3 files changed, 69 insertions(+), 26 deletions(-) diff --git a/lib/mixins/property-effects.js b/lib/mixins/property-effects.js index 4961eec486..eeff962645 100644 --- a/lib/mixins/property-effects.js +++ b/lib/mixins/property-effects.js @@ -2140,37 +2140,33 @@ export const PropertyEffects = dedupingMixin(superClass => { */ _marshalArgs(args, path, props) { const data = this.__data; - let values = []; + const values = []; for (let i=0, l=args.length; i