Nullability in TrackGraph signature #27257
Labels
area-change-tracking
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
A very very minor issue for cleanup whenever convenient.
The type of TrackGraph is
The callback however should have the argument type annotated with ?,
so that the ability to pass null into TrackGraph will be matched by the ability of the callback to accept null as the state arg.
Workaround: specify TState? explicitly as the type argument to TrackGraph.
The text was updated successfully, but these errors were encountered: