| Index: pkg/compiler/lib/src/constants/expressions.dart
|
| diff --git a/pkg/compiler/lib/src/constants/expressions.dart b/pkg/compiler/lib/src/constants/expressions.dart
|
| index 9ecbaa56b7f8572da3efe7f52b46739ae9b0f37a..9eb3fdc7ba46ebce51933a7952d19e9856a0e5e9 100644
|
| --- a/pkg/compiler/lib/src/constants/expressions.dart
|
| +++ b/pkg/compiler/lib/src/constants/expressions.dart
|
| @@ -101,12 +101,7 @@ abstract class ConstantExpression {
|
|
|
| int _computeHashCode();
|
|
|
| - int get hashCode {
|
| - if (_hashCode == null) {
|
| - _hashCode = _computeHashCode();
|
| - }
|
| - return _hashCode;
|
| - }
|
| + int get hashCode => _hashCode ??= _computeHashCode();
|
|
|
| bool _equals(ConstantExpression other);
|
|
|
|
|