commit | a455e099bb7d49826927df5ebb54f712496c6d37 | [log] [tgz] |
---|---|---|
author | Sam Rawlins <srawlins@google.com> | Fri Dec 06 16:02:15 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Dec 06 16:02:15 2019 +0000 |
tree | 98c9953bc5742ca2a94e07f02c81a4a5ceded670 | |
parent | 3281a4ab7f1c783f2c2ccc099e9b0e272a1044a7 [diff] |
Ignore _printEvent as an unused element This is required for #37116 Change-Id: Ia061a423b2455f4e64d5a90f35cc5d7461fa57d2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127343 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
diff --git a/pkg/front_end/lib/src/fasta/type_inference/type_promotion.dart b/pkg/front_end/lib/src/fasta/type_inference/type_promotion.dart index 56800aa..11c5323 100644 --- a/pkg/front_end/lib/src/fasta/type_inference/type_promotion.dart +++ b/pkg/front_end/lib/src/fasta/type_inference/type_promotion.dart
@@ -450,6 +450,7 @@ /// For internal debugging use, prints the current state followed by the event /// name. + // ignore: unused_element void _printEvent(String name) { Iterable<TypePromotionFact> factChain(TypePromotionFact fact) sync* { while (fact != null) {