================================================================================
errors/wrongForGeneratorType1
================================================================================

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

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

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