-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate most of debugging/metadata and loaders directories to null safety #1659
Migrate most of debugging/metadata and loaders directories to null safety #1659
Conversation
…ll-safety-dwds-3
…ll-safety-dwds-4
return e.value; | ||
} | ||
} | ||
_logger.warning('No module for server path $serverPath'); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added throwing instead, thanks!
There was a problem hiding this comment.
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.
Migrate most of
debugging/metadata
andloaders
directories to null safety.Towards: #1327