Chromium Code Reviews| Index: runtime/lib/bool_patch.dart |
| diff --git a/runtime/lib/bool_patch.dart b/runtime/lib/bool_patch.dart |
| index cd6b7408a0c4deb59d8ac23ddaab6532995bf458..64da8fe558336ad92fa60360ea945a9e512c2f55 100644 |
| --- a/runtime/lib/bool_patch.dart |
| +++ b/runtime/lib/bool_patch.dart |
| @@ -7,7 +7,7 @@ |
| patch class bool { |
| /* patch */ const factory bool.fromEnvironment(String name, |
| - {bool defaultValue}) |
| + {bool defaultValue = false}) |
|
Søren Gjesse
2013/10/31 08:14:30
I guess this is OK, you can then use defautValue:
Lasse Reichstein Nielsen
2013/10/31 11:52:19
You can, but you /should/ use the String construct
|
| native "Bool_fromEnvironment"; |
| int get _identityHashCode { |