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

[null-safety] migrate package:process to _almost_ null safety #47

Merged
merged 4 commits into from
Jul 29, 2020

Conversation

jonahwilliams
Copy link
Contributor

Migrate to null-safety, except for the path/file/platform dependencies which are not yet migrated.
Removes record/replay functionality.

path: ^1.5.1
platform: '>=1.0.1'

dev_dependencies:
test: ^1.0.0

environment:
sdk: '>=2.0.0 <3.0.0'
sdk: '>=2.9.0 <3.0.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

Not 2.10.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahh right, we switched versions. 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

actually we're currently at 2.9 and the next version is null safety. I think flutter is on an allowlist to specify a 2.10 constraint which this package isn't on yet

Copy link
Contributor

Choose a reason for hiding this comment

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

ack

@@ -53,15 +54,14 @@ class ProcessWrapper implements io.Process {
///
/// The future returned here will complete with the exit code of the process.
Future<int> get done async {
int result;
late int result;
Copy link
Contributor

Choose a reason for hiding this comment

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

I love this feature.

@jonahwilliams jonahwilliams merged commit 1df10c6 into google:master Jul 29, 2020
@jonahwilliams jonahwilliams deleted the null_safety branch July 29, 2020 21:17
@bartekpacia
Copy link

bartekpacia commented Sep 14, 2022

Why was record/replay removed? README still advertises the package as having this feature.

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.

None yet

3 participants