================================================================================
errors/undefinedProperty7
================================================================================

// we don't expect a path to be shown in the error message, because the renderer's traverser cannot
// tell if the thrown error came from reading 

class Person {
  name: String
}

res1 {
  [new Person {}] = 1
}

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

(module
  (lineComment)
  (lineComment)
  (clazz
    (identifier)
    (classBody
      (classProperty
        (identifier)
        (typeAnnotation
          (type
            (qualifiedIdentifier
              (identifier)))))))
  (classProperty
    (identifier)
    (objectBody
      (objectEntry
        (newExpr
          (type
            (qualifiedIdentifier
              (identifier)))
          (objectBody))
        (intLiteral)))))
