| Index: test/dart_codegen/expect/core/bool.dart
|
| diff --git a/test/dart_codegen/expect/core/bool.dart b/test/dart_codegen/expect/core/bool.dart
|
| index a83a795a335647ce63beab71288dfc8be2eeabac..f9e565369d3835f61534621e145f68fb01282196 100644
|
| --- a/test/dart_codegen/expect/core/bool.dart
|
| +++ b/test/dart_codegen/expect/core/bool.dart
|
| @@ -1,10 +1,8 @@
|
| part of dart.core;
|
|
|
| class bool {
|
| - factory bool.fromEnvironment(String name, {bool defaultValue: false}) {
|
| - throw new UnsupportedError(
|
| - 'bool.fromEnvironment can only be used as a const constructor');
|
| - }
|
| + external const factory bool.fromEnvironment(String name,
|
| + {bool defaultValue: false});
|
| String toString() {
|
| return this ? "true" : "false";
|
| }
|
|
|