| Index: pkg/analyzer_experimental/test/generated/test_support.dart
|
| diff --git a/pkg/analyzer_experimental/test/generated/test_support.dart b/pkg/analyzer_experimental/test/generated/test_support.dart
|
| index f51b03c49b536b7b96bc11a439f4ba84453407ac..8ec0c66473c7b6456681c67f2c995d01819ffe11 100644
|
| --- a/pkg/analyzer_experimental/test/generated/test_support.dart
|
| +++ b/pkg/analyzer_experimental/test/generated/test_support.dart
|
| @@ -329,10 +329,19 @@ class GatheringErrorListener implements AnalysisErrorListener {
|
| writer.newLine();
|
| if (lineInfo == null) {
|
| int offset = error.offset;
|
| - writer.printf(" %s %s (%d..%d)", [source == null ? "" : source.shortName, error.errorCode, offset, offset + error.length]);
|
| + writer.printf(" %s %s (%d..%d)", [
|
| + source == null ? "" : source.shortName,
|
| + error.errorCode,
|
| + offset,
|
| + offset + error.length]);
|
| } else {
|
| LineInfo_Location location = lineInfo.getLocation(error.offset);
|
| - writer.printf(" %s %s (%d, %d/%d)", [source == null ? "" : source.shortName, error.errorCode, location.lineNumber, location.columnNumber, error.length]);
|
| + writer.printf(" %s %s (%d, %d/%d)", [
|
| + source == null ? "" : source.shortName,
|
| + error.errorCode,
|
| + location.lineNumber,
|
| + location.columnNumber,
|
| + error.length]);
|
| }
|
| }
|
| writer.newLine();
|
| @@ -345,10 +354,21 @@ class GatheringErrorListener implements AnalysisErrorListener {
|
| writer.newLine();
|
| if (lineInfo == null) {
|
| int offset = error.offset;
|
| - writer.printf(" %s %s (%d..%d): %s", [source == null ? "" : source.shortName, error.errorCode, offset, offset + error.length, error.message]);
|
| + writer.printf(" %s %s (%d..%d): %s", [
|
| + source == null ? "" : source.shortName,
|
| + error.errorCode,
|
| + offset,
|
| + offset + error.length,
|
| + error.message]);
|
| } else {
|
| LineInfo_Location location = lineInfo.getLocation(error.offset);
|
| - writer.printf(" %s %s (%d, %d/%d): %s", [source == null ? "" : source.shortName, error.errorCode, location.lineNumber, location.columnNumber, error.length, error.message]);
|
| + writer.printf(" %s %s (%d, %d/%d): %s", [
|
| + source == null ? "" : source.shortName,
|
| + error.errorCode,
|
| + location.lineNumber,
|
| + location.columnNumber,
|
| + error.length,
|
| + error.message]);
|
| }
|
| }
|
| JUnitTestCase.fail(writer.toString());
|
|
|