Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Null safety migration #108

Merged
merged 15 commits into from
Mar 17, 2020
Merged

Null safety migration #108

merged 15 commits into from
Mar 17, 2020

Conversation

jakemac53
Copy link
Contributor

@jakemac53 jakemac53 commented Mar 17, 2020

Tests not migrated yet, but sending this out for review in the meantime.

Tests migrated as well now

lib/src/cancelable_operation.dart Show resolved Hide resolved
lib/src/result/error.dart Outdated Show resolved Hide resolved
lib/src/result/error.dart Show resolved Hide resolved
lib/src/result/result.dart Outdated Show resolved Hide resolved
lib/src/result/result.dart Outdated Show resolved Hide resolved
lib/src/stream_completer.dart Outdated Show resolved Hide resolved
lib/src/stream_sink_transformer/handler_transformer.dart Outdated Show resolved Hide resolved
}

/// The operation controlled by this completer.
CancelableOperation<T> get operation => _operation;
CancelableOperation<T> _operation;
late final CancelableOperation<T> operation;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this gives the appearance of a setter. There won't be a static error for trying to set it... Is that a bug in the SDK?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh interesting...... cc @leafpetersen

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Going to leave this for now and follow up if we decide it needs to change.

Copy link
Contributor

Choose a reason for hiding this comment

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

I do think this needs to change. #139

@jakemac53
Copy link
Contributor Author

Collecting a list of potential breaking changes here dart-lang/core#328

@jakemac53 jakemac53 merged commit 6e233d2 into null_safety Mar 17, 2020
@jakemac53 jakemac53 deleted the null-safety-migration branch March 17, 2020 20:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants