Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: sdk/lib/async/stream.dart

Issue 1696453002: Use internal const-constructor. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/lib/async/stream_view_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream.dart
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart
index 5dae80290008abad69a35e647cad83b085ea79e7..23f482cda00b27033d46559c8a532ea40289d2f3 100644
--- a/sdk/lib/async/stream.dart
+++ b/sdk/lib/async/stream.dart
@@ -1495,7 +1495,7 @@ abstract class EventSink<T> implements Sink<T> {
class StreamView<T> extends Stream<T> {
final Stream<T> _stream;
- StreamView(this._stream);
+ const StreamView(this._stream) : super._internal();
kevmoo 2016/02/11 21:19:56 Please update changelog, too
Lasse Reichstein Nielsen 2016/02/11 22:04:49 Consider making the public parameter name be "stre
floitsch 2016/02/12 19:29:16 Done.
floitsch 2016/02/12 19:29:16 Done.
bool get isBroadcast => _stream.isBroadcast;
« no previous file with comments | « no previous file | tests/lib/async/stream_view_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698