Fix new Dart 1.23.0-dev.10.0 function expression return type inference (#8) * Fix new Dart 1.23.0-dev.10.0 function expression return type inference * Bump CHANGELOG
diff --git a/CHANGELOG.md b/CHANGELOG.md index cc43eb1..5871f74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,3 +1,8 @@ +#### 2.0.2 + +* Fix a strong mode function expression return type inference bug with Dart + 1.23.0-dev.10.0. + #### 2.0.1 * Fixed bug in `ReplayProcessManager` whereby it could try to write to `stdout`
diff --git a/lib/src/record_replay/recording_process_manager.dart b/lib/src/record_replay/recording_process_manager.dart index c1f337c..8b9cd92 100644 --- a/lib/src/record_replay/recording_process_manager.dart +++ b/lib/src/record_replay/recording_process_manager.dart
@@ -319,8 +319,9 @@ void callOnTimeout(int pid) => onTimeout(_manifest.getRunEntry(pid)); await Future .wait(new List<Future<int>>.from(_runningProcesses.values)) - .timeout(timeout, - onTimeout: () => _runningProcesses.keys.forEach(callOnTimeout)); + .timeout(timeout, onTimeout: () { + _runningProcesses.keys.forEach(callOnTimeout); + }); } /// Writes our process invocation manifest to disk in the destination folder.
diff --git a/pubspec.yaml b/pubspec.yaml index 75e0544..fb8ecb3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -1,5 +1,5 @@ name: process -version: 2.0.1 +version: 2.0.2 authors: - Todd Volkert <tvolkert@google.com> - Michael Goderbauer <goderbauer@google.com>