================================================================================
errors/wrongForGeneratorType2
================================================================================

res1 = new Mapping {
  for (n: Int in List(1, "other", 2)) { [n] = n }
}

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

(module
  (classProperty
    (identifier)
    (newExpr
      (type
        (qualifiedIdentifier
          (identifier)))
      (objectBody
        (forGenerator
          (typedIdentifier
            (identifier)
            (typeAnnotation
              (type
                (qualifiedIdentifier
                  (identifier)))))
          (methodCallExpr
            (identifier)
            (argumentList
              (intLiteral)
              (slStringLiteral)
              (intLiteral)))
          (objectBody
            (objectEntry
              (variableExpr
                (identifier))
              (variableExpr
                (identifier)))))))))
