Chromium Code Reviews| Index: sdk/lib/_internal/lib/core_patch.dart |
| diff --git a/sdk/lib/_internal/lib/core_patch.dart b/sdk/lib/_internal/lib/core_patch.dart |
| index 9e1c51f706c1467c15479b9bbb13f974ae99c9b2..601149a35bad17564bcae335bb55bea3cbb881d4 100644 |
| --- a/sdk/lib/_internal/lib/core_patch.dart |
| +++ b/sdk/lib/_internal/lib/core_patch.dart |
| @@ -105,7 +105,7 @@ patch class int { |
| patch factory int.fromEnvironment(String name, {int defaultValue}) { |
| throw new UnsupportedError( |
| - 'int.fromEnvironement can only be used as a const constructor'); |
| + 'int.fromEnvironment can only be used as a const constructor'); |
|
Søren Gjesse
2013/10/31 13:17:49
Thanks.
|
| } |
| } |
| @@ -227,14 +227,14 @@ patch class String { |
| patch factory String.fromEnvironment(String name, {String defaultValue}) { |
| throw new UnsupportedError( |
| - 'String.fromEnvironement can only be used as a const constructor'); |
| + 'String.fromEnvironment can only be used as a const constructor'); |
| } |
| } |
| patch class bool { |
| patch factory bool.fromEnvironment(String name, {bool defaultValue: false}) { |
| throw new UnsupportedError( |
| - 'bool.fromEnvironement can only be used as a const constructor'); |
| + 'bool.fromEnvironment can only be used as a const constructor'); |
| } |
| } |