Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

[null-safety] remove implicit casts, intl dependency, format #46

Merged
merged 5 commits into from
Jul 29, 2020

Conversation

jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Jul 25, 2020

Preparation for null-safety which does not have implicit casts. Removes intl dependency which was only used for a single naming scheme.

Does not bump versioning or changelog

@jonahwilliams jonahwilliams marked this pull request as ready for review July 29, 2020 18:16
@jonahwilliams jonahwilliams changed the title remove implicit casts, intl dependency, format [null-safety] remove implicit casts, intl dependency, format Jul 29, 2020
lib/src/record_replay/manifest.dart Outdated Show resolved Hide resolved
Manifest manifest = new Manifest();
(JsonDecoder().convert(json) as List<dynamic>)
.cast<Map<String, dynamic>>();
Manifest manifest = Manifest();
Copy link
Member

Choose a reason for hiding this comment

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

[optional] If you're doing cleanup anyway, consider removing some of the very clearly redundant local variable types.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

always_specify_types 🙃

@@ -32,6 +32,48 @@ Encoding _getEncoding(String encoding) {

/// An entry in the process invocation manifest for running an executable.
class RunManifestEntry extends ManifestEntry {
/// Creates a new manifest entry with the given properties.
Copy link
Member

Choose a reason for hiding this comment

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

This comment is not adding any information. How about removing it?

Co-authored-by: Nate Bosch <nbosch1@gmail.com>
@tvolkert
Copy link
Contributor

Can you bump the version and update the CHANGELOG as well?

@jonahwilliams
Copy link
Contributor Author

@tvolkert I have another commit ready that ops into null safety. I'll update the changelog but I don't really want to release two back to back

@tvolkert
Copy link
Contributor

got it - you want me to merge?

@jonahwilliams
Copy link
Contributor Author

Changelog/pubspec updated - ready when you are

@tvolkert tvolkert merged commit 0da1df0 into google:master Jul 29, 2020
@jonahwilliams jonahwilliams deleted the update_pre_null_safety branch July 29, 2020 18:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants