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

Unified Diff: pkg/dev_compiler/tool/input_sdk/lib/async/stream_impl.dart

Issue 2542723003: Sprinkle some types on the SDK like the static typing fairy. (Closed)
Patch Set: Created 4 years 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
Index: pkg/dev_compiler/tool/input_sdk/lib/async/stream_impl.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/lib/async/stream_impl.dart b/pkg/dev_compiler/tool/input_sdk/lib/async/stream_impl.dart
index dffaa1205910b222ea7ca6bbdbf197069f33cccd..7099973bebfb77a974bb4c53f6bb6ae8b00b2e05 100644
--- a/pkg/dev_compiler/tool/input_sdk/lib/async/stream_impl.dart
+++ b/pkg/dev_compiler/tool/input_sdk/lib/async/stream_impl.dart
@@ -401,7 +401,7 @@ class _BufferingStreamSubscription<T> implements StreamSubscription<T>,
* during the call, and it checks for state changes after the call
* that should cause further callbacks.
*/
- void _guardCallback(callback) {
+ void _guardCallback(void callback()) {
assert(!_inCallback);
bool wasInputPaused = _isInputPaused;
_state |= _STATE_IN_CALLBACK;
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/code_generator.dart ('k') | pkg/dev_compiler/tool/input_sdk/patch/async_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698