     ####################
     # FINAL PASS
     ####################
-    if finalPassSizeLayoutChildren = finalPassProps.finalPassSizeLayoutChildren
+    if finalPassSizeLayoutChildren
       oldMaxCrossSize = maxCrossSize
       secondPassSizeForChildren = toPoint isRowLayout, mainElementSizeForChildren, crossElementSizeForChildren
 

    sizeWithPadding x, y, currentPadding
  else
    point x, y

addFinalPassSizeLayoutChild = (finalPassProps, child) ->
  if finalPassProps.finalPassSizeLayoutChildren
    finalPassProps.finalPassSizeLayoutChildren.push child
  else
    finalPassProps.finalPassSizeLayoutChildren = [child]

module.exports = class FlexLayout


        spaceForFlexChildren -= mainSize

        if child.getPendingLayoutSizeParentCircular()
          (finalPassSizeLayoutChildren||=[]).push child
          if (!isRowLayout && child._pendingState._size.xChildrenRelative) || (isRowLayout && child._pendingState._size.yChildrenRelative)
            maxCrossSize = max maxCrossSize, currentSize[crossCoordinate]
        else
