| Index: sdk/lib/io/process.dart
|
| diff --git a/sdk/lib/io/process.dart b/sdk/lib/io/process.dart
|
| index dd7f0dcdaa5f8b24db4db393035ffe47378d1257..3c0f0fe392a3b74891afa4d2b6eb4fe680c3548e 100644
|
| --- a/sdk/lib/io/process.dart
|
| +++ b/sdk/lib/io/process.dart
|
| @@ -41,10 +41,10 @@ class _ProcessUtils {
|
| * cross-platform issues.
|
| */
|
| void exit(int code) {
|
| - if (status is !int) {
|
| - throw new ArgumentError("exit: int status expected");
|
| + if (code is !int) {
|
| + throw new ArgumentError("Integer value for exit code expected");
|
| }
|
| - _ProcessUtils._exit(status);
|
| + _ProcessUtils._exit(code);
|
| }
|
|
|
| /**
|
| @@ -58,10 +58,10 @@ void exit(int code) {
|
| * exit code.
|
| */
|
| set exitCode(int code) {
|
| - if (status is !int) {
|
| - throw new ArgumentError("setExitCode: int status expected");
|
| + if (code is !int) {
|
| + throw new ArgumentError("Integer value for exit code expected");
|
| }
|
| - _ProcessUtils._setExitCode(status);
|
| + _ProcessUtils._setExitCode(code);
|
| }
|
|
|
| /**
|
|
|