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

Unified Diff: pkg/front_end/.analysis_options

Issue 2675603002: Reduce strong mode errors and warnings (Closed)
Patch Set: don't override isAbstract, it's already defined in ModifierBuilder Created 3 years, 10 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
Index: pkg/front_end/.analysis_options
diff --git a/pkg/front_end/.analysis_options b/pkg/front_end/.analysis_options
index f0ac32f0e1ec5d082651f9b218c926396ba7adf8..9a5216af285e6e97eaffc1b4a6ad96b034341000 100644
--- a/pkg/front_end/.analysis_options
+++ b/pkg/front_end/.analysis_options
@@ -2,3 +2,19 @@ analyzer:
strong-mode: true
language:
enableSuperMixins: true
+ errors:
+ # Omits warnigns due to missing `@virtual`
+ # TODO(sigmund): enable once #28601 is fixed
+ strong_mode_invalid_field_override: ignore
+
+ # Omits warnings for implicit casts with generics like `List<T> x = list;`,
+ # also removes warnings due to a bad interaction between inference of
+ # guarded type arguments and downward cast warnings (see #28646).
+ strong_mode_down_cast_composite: ignore
+
+ # Allow having TODOs in the code
+ todo: ignore
+
+ # Allow deprecated calls (althout it would be nice to have a distinction
+ # between internal and external deprecated calls).
+ deprecated_member_use: ignore

Powered by Google App Engine
This is Rietveld 408576698