Fix bug with overlapping timestamp declarations
This commit is contained in:
1 parent
bc8619e199
commit
eb806342b8
1 file changed
+2
-2
+2
-2
@@ -1163,8 +1163,8 @@ processDeclarations = (sessionContext, allDeclareTimestamps, allDeclareAttribute
|
|||||||
if currentPath.wildcard == 0
|
if currentPath.wildcard == 0
|
||||||
if attrs = allDeclareAttributeTimestamps.get(path)
|
if attrs = allDeclareAttributeTimestamps.get(path)
|
||||||
if declareAttributeTimestamps
|
if declareAttributeTimestamps
|
||||||
delcareAttributeTimestamps = Object.assign({}, declareAttributeTimestamps)
|
declareAttributeTimestamps = Object.assign({}, declareAttributeTimestamps)
|
||||||
declareAttributeTimestamps[k] = Math.max(v, attrs[k] or 0) for k, v of attrs
|
declareAttributeTimestamps[k] = Math.max(v, declareAttributeTimestamps[k] or 0) for k, v of attrs
|
||||||
else
|
else
|
||||||
declareAttributeTimestamps = attrs
|
declareAttributeTimestamps = attrs
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user