================================================================================
basic/localPropertyOverride3
================================================================================

// verify that foo2.y gets foo2.l even though foo1.l is already in the property cache

foo1 {
  local l = "origi" + "nal"
  x = l
}

foo2 = (foo1) {
  local l = "over" + "ridden"
  y = l
}

--------------------------------------------------------------------------------

(module
  (lineComment)
  (classProperty
    (identifier)
    (objectBody
      (objectProperty
        (modifier)
        (identifier)
        (binaryExpr
          (slStringLiteral)
          (slStringLiteral)))
      (objectProperty
        (identifier)
        (variableExpr
          (identifier)))))
  (classProperty
    (identifier)
    (objectLiteral
      (parenthesizedExpr
        (variableExpr
          (identifier)))
      (objectBody
        (objectProperty
          (modifier)
          (identifier)
          (binaryExpr
            (slStringLiteral)
            (slStringLiteral)))
        (objectProperty
          (identifier)
          (variableExpr
            (identifier)))))))
