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

Commit

Permalink
Fix new Dart 1.23.0-dev.10.0 function expression return type inference (
Browse files Browse the repository at this point in the history
#8)

* Fix new Dart 1.23.0-dev.10.0 function expression return type inference

* Bump CHANGELOG
  • Loading branch information
srawlins authored and goderbauer committed Mar 27, 2017
1 parent 53e6813 commit 5b3b64d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
5 changes: 3 additions & 2 deletions lib/src/record_replay/recording_process_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,9 @@ class RecordingProcessManager implements ProcessManager {
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.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: process
version: 2.0.1
version: 2.0.2
authors:
- Todd Volkert <[email protected]>
- Michael Goderbauer <[email protected]>
Expand Down

0 comments on commit 5b3b64d

Please sign in to comment.