Breaking change #63795: Eliminate spurious Null in generator return type
17 views
Skip to first unread message
Erik Ernst
unread,
Aug 6, 2026, 8:59:10 AM (17 hours ago) Aug 6
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to anno...@dartlang.org, Kevin Chisholm
Change the inferred return type for a generator function literal such that it no more includes Null in the collection type argument when the end of the body is reachable. ThisNull is spurious and causes the return type to be less precise than it could otherwise be.