Skip to content

Null safety migration tool should not null assert hashCode and toString #42263

@yjbanov

Description

@yjbanov

The tool will currently insert ! on access to hashCode and toString (but not ==, and I haven't checked runtimeType). That's wrong because null has these properties and methods.

Metadata

Metadata

Labels

NNBDIssues related to NNBD Releasearea-migration (deprecated)Deprecated: this label is no longer actively used (was: issues with the `dart migrate` tool).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions