When documenting a function that uses the yield from keyword, a Drupal.Commenting.FunctionComment.InvalidNoReturn error is produced. Using yield does not produce an error.

Comments

clayfreeman created an issue. See original summary.

Arkener’s picture

Arkener’s picture

Status: Active » Needs review

  • klausi committed c881f78 on 8.x-3.x authored by Arkener
    fix(FunctionComment): Recognise 'yield from' as valid return statement...
klausi’s picture

Status: Needs review » Fixed

Merged, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.