mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 21:30:17 +00:00
Fix type argument for Result.
R=ahe@google.com, paulberry@google.com BUG= Review-Url: https://codereview.chromium.org/2920283002 .
This commit is contained in:
parent
5850122513
commit
64ed9c942c
|
@ -27,7 +27,7 @@ class StdioProcess {
|
|||
if (exitCode == expected) {
|
||||
return new Result<int>.pass(exitCode);
|
||||
} else {
|
||||
return new Result<Program>(
|
||||
return new Result<int>(
|
||||
exitCode, ExpectationSet.Default["RuntimeError"], output, null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue