Error Identifiers: generator.*

Menu

← Back to all error identifiers

There are 7 error identifiers in the generator.* group:

  • Yielded key type does not match the declared generator key type.

  • Expression passed to yield from is not iterable.

  • Yield expression is used outside of a function or method body.

  • Generator function has a return type that is not compatible with Generator.

  • Delegated generator send type is incompatible with the delegating generator.

  • Yielded value type does not match the declared generator value type.

  • Yield result is used but the generator declares void as its send type.