Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: pkg/front_end/lib/src/fasta/colors.dart

Issue 2757983002: Suppress undefined_getter error when analyzing colors.dart with an older SDK. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/colors.dart
diff --git a/pkg/front_end/lib/src/fasta/colors.dart b/pkg/front_end/lib/src/fasta/colors.dart
index 301e9ad281c23d22756107d461da585ef8cc1c83..649229f65bce29cf7fd660b50e2bf2e537c01f6e 100644
--- a/pkg/front_end/lib/src/fasta/colors.dart
+++ b/pkg/front_end/lib/src/fasta/colors.dart
@@ -100,6 +100,7 @@ String white(String string) => wrap(string, WHITE_COLOR);
bool computeEnableColors(CompilerContext context) {
bool ansiSupported;
try {
+ // ignore: undefined_getter
ansiSupported = Platform.ansiSupported;
} on NoSuchMethodError {
// Ignored: We're running on an older version of the Dart VM which doesn't
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698