Index: pkg/analyzer/lib/src/task/dart.dart |
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart |
index e8443f87e0a9e61b75b5d019f4b110562fc7ffd2..a4db48ecc6a509e5000c06a81a0a7df603e89c5d 100644 |
--- a/pkg/analyzer/lib/src/task/dart.dart |
+++ b/pkg/analyzer/lib/src/task/dart.dart |
@@ -3349,18 +3349,18 @@ class VerifyUnitTask extends SourceBasedAnalysisTask { |
// |
validateDirectives(unit); |
// |
- // Use the ErrorVerifier to compute errors. |
- // |
- ErrorVerifier errorVerifier = new ErrorVerifier(errorReporter, |
- libraryElement, typeProvider, new InheritanceManager(libraryElement)); |
- unit.accept(errorVerifier); |
- // |
// Use the ConstantVerifier to compute errors. |
// |
ConstantVerifier constantVerifier = new ConstantVerifier( |
errorReporter, libraryElement, typeProvider, context.declaredVariables); |
unit.accept(constantVerifier); |
// |
+ // Use the ErrorVerifier to compute errors. |
+ // |
+ ErrorVerifier errorVerifier = new ErrorVerifier(errorReporter, |
+ libraryElement, typeProvider, new InheritanceManager(libraryElement)); |
+ unit.accept(errorVerifier); |
+ // |
// Record outputs. |
// |
outputs[VERIFY_ERRORS] = removeDuplicateErrors(errorListener.errors); |