================================================================================
errors/undefinedProperty4
================================================================================

class Zebra {
  party: Party
}

class Party {
  time: Mapping<Any, Int>
}

class Foo {
  bar: Bar
}

class Bar {
  num: Int
}

zebra: Zebra = new {
  party {
    time {
      [1] = 1
      [2] = 2
      [3] = 3
      [4] = 4
      [5] = 5
      [6] = 6
      [7] = 7
      [new Foo {
        bar {
          num = 5
        }
      }] = 0
      [new Foo {}] = 1
    }
  }
}

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

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