From a455e099bb7d49826927df5ebb54f712496c6d37 Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Fri, 6 Dec 2019 16:02:15 +0000 Subject: [PATCH] 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 Commit-Queue: Samuel Rawlins --- pkg/front_end/lib/src/fasta/type_inference/type_promotion.dart | 1 + 1 file changed, 1 insertion(+) 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 56800aa46adb..11c5323b07c3 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 @@ abstract class TypePromoterImpl extends TypePromoter { /// For internal debugging use, prints the current state followed by the event /// name. + // ignore: unused_element void _printEvent(String name) { Iterable factChain(TypePromotionFact fact) sync* { while (fact != null) {