Index: pkg/kernel/test/type_propagation_selfcheck.dart |
diff --git a/pkg/kernel/test/type_propagation_selfcheck.dart b/pkg/kernel/test/type_propagation_selfcheck.dart |
index f5ce2935241a01e2cfe1676884570d4addc0ff0c..e83e4b7f86f9ac2645901586fca52440384dab4c 100644 |
--- a/pkg/kernel/test/type_propagation_selfcheck.dart |
+++ b/pkg/kernel/test/type_propagation_selfcheck.dart |
@@ -155,9 +155,7 @@ class SelfCheckTransformer { |
// is allowed to occur. We use this because it is hard to check directly |
// that a value is of the 'other' type. |
bool disallowOtherValues = expected.valueBits & ValueBit.other == 0; |
- List<Expression> anyChecks = disallowOtherValues |
- ? <Expression>[] |
- : null; |
+ List<Expression> anyChecks = disallowOtherValues ? <Expression>[] : null; |
void checkType(int bit, DartType type) { |
if (expected.valueBits & bit == 0) { |