Chromium Code Reviews| Index: pkg/compiler/lib/src/constants/values.dart |
| diff --git a/pkg/compiler/lib/src/constants/values.dart b/pkg/compiler/lib/src/constants/values.dart |
| index fd0f5dd763e018decd049fc672bb60bd2fb3dce8..37f5646d7e3600f22f575df233d3153b2273f62e 100644 |
| --- a/pkg/compiler/lib/src/constants/values.dart |
| +++ b/pkg/compiler/lib/src/constants/values.dart |
| @@ -159,7 +159,7 @@ class NullConstantValue extends PrimitiveConstantValue { |
| /** The value a Dart null is compiled to in JavaScript. */ |
| static const String JsNull = "null"; |
| - factory NullConstantValue() => const NullConstantValue._internal(); |
| + const factory NullConstantValue() = NullConstantValue._internal; |
|
Siggi Cherem (dart-lang)
2016/04/29 20:26:40
I didn't know we were allowed to declare a factory
Johnni Winther
2016/04/30 09:06:02
When they are redirecting we can (I changed that t
|
| const NullConstantValue._internal(); |