| Index: pkg/compiler/lib/src/compiler.dart
|
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
|
| index 9c7995aa321fd7abeafb25a15ff95e1e88fd3e24..99c535eba592f30f6285be9f905b6b0cd4255a54 100644
|
| --- a/pkg/compiler/lib/src/compiler.dart
|
| +++ b/pkg/compiler/lib/src/compiler.dart
|
| @@ -1989,9 +1989,9 @@ class _CompilerResolution implements Resolution {
|
| assert(invariant(element, !element.isSynthesized || tree == null));
|
| ResolutionImpact resolutionImpact =
|
| compiler.resolver.resolve(element);
|
| - if (tree != null &&
|
| - !compiler.analyzeSignaturesOnly &&
|
| - !reporter.options.suppressWarnings) {
|
| + if (tree != null && !compiler.analyzeSignaturesOnly) {
|
| + // TODO(het): don't do this if suppressWarnings is on, currently we have
|
| + // to do it because the typechecker also sets types
|
| // Only analyze nodes with a corresponding [TreeElements].
|
| compiler.checker.check(element);
|
| }
|
|
|