Skip to content

Commit bb3fc88

Browse files
munificentCommit Queue
authored and
Commit Queue
committed
[flip-patterns] Pin to tests/vm/dart/regress_flutter51298_test.dart to 2.19.
In Dart 3.0, bool is treated as an "always-exhaustive" type which means it's a compile error to not exhaustively switch on it. Since this is a regression test, I don't want to tweak the test and risk not covering the regressed behavior, so pinning to 2.19 where this wasn't a compile error. Change-Id: I51c63730f6db55ecc52daf20888db8778051d98f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287668 Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Siva Annamalai <[email protected]> Auto-Submit: Bob Nystrom <[email protected]>
1 parent 10ee5fd commit bb3fc88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtime/tests/vm/dart/regress_flutter51298_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart=2.19
6+
57
// VMOptions=--optimization_counter_threshold=10 --deterministic
68

79
// Regression test for https://github.com/flutter/flutter/issues/51298.

0 commit comments

Comments
 (0)