Skip to content

Conversation

@annagrin
Copy link
Contributor

@annagrin annagrin commented Jun 17, 2022

Migrate most of debugging/metadata and loaders directories to null safety.

Towards: #1327

@annagrin annagrin requested review from elliette and grouma June 18, 2022 00:22
return e.value;
}
}
_logger.warning('No module for server path $serverPath');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be throwing or returning a null value here instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added throwing instead, thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, throwing breaks our flow (some non-module paths are passed to those API), changed to allowing null instead.

@annagrin annagrin merged commit 5efb563 into dart-lang:master Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants