Index: pkg/analyzer/test/generated/scanner_test.dart |
diff --git a/pkg/analyzer/test/generated/scanner_test.dart b/pkg/analyzer/test/generated/scanner_test.dart |
index 35318470137dcd338d7f9b8ede505ce61e4d6b9b..24ca20e106a88f1b330065dec79054fe9f9bda06 100644 |
--- a/pkg/analyzer/test/generated/scanner_test.dart |
+++ b/pkg/analyzer/test/generated/scanner_test.dart |
@@ -1074,7 +1074,7 @@ class ScannerTest { |
GatheringErrorListener listener = new GatheringErrorListener(); |
_scanWithListener(source, listener); |
listener.assertErrors([ |
- new AnalysisError.con2(null, expectedOffset, 1, expectedError, |
+ new AnalysisError(null, expectedOffset, 1, expectedError, |
[source.codeUnitAt(expectedOffset)]) |
]); |
} |
@@ -1093,7 +1093,7 @@ class ScannerTest { |
GatheringErrorListener listener = new GatheringErrorListener(); |
Token token = _scanWithListener(source, listener); |
listener.assertErrors([ |
- new AnalysisError.con2(null, expectedOffset, 1, expectedError, |
+ new AnalysisError(null, expectedOffset, 1, expectedError, |
[source.codeUnitAt(expectedOffset)]) |
]); |
_checkTokens(token, expectedTokens); |