| Index: pkg/analyzer_experimental/lib/src/generated/engine.dart
|
| diff --git a/pkg/analyzer_experimental/lib/src/generated/engine.dart b/pkg/analyzer_experimental/lib/src/generated/engine.dart
|
| index d6247bb6e37c41e3a39e658df7e750f89a7bfe6e..5c8ff681d640fd8955de77142040ac122d801f33 100644
|
| --- a/pkg/analyzer_experimental/lib/src/generated/engine.dart
|
| +++ b/pkg/analyzer_experimental/lib/src/generated/engine.dart
|
| @@ -4107,7 +4107,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| */
|
| DartEntry recordGenerateDartHintsTask(GenerateDartHintsTask task) {
|
| Source librarySource = task.libraryElement.source;
|
| - AnalysisException thrownException = task.exception;
|
| + AnalysisException thrownException = task.thrownException;
|
| DartEntry libraryEntry = null;
|
| Map<Source, TimestampedData<List<AnalysisError>>> hintMap = task.hintMap;
|
| if (hintMap == null) {
|
| @@ -4191,7 +4191,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| */
|
| DartEntry recordParseDartTaskResults(ParseDartTask task) {
|
| Source source = task.source;
|
| - AnalysisException thrownException = task.exception;
|
| + AnalysisException thrownException = task.thrownException;
|
| DartEntry dartEntry = null;
|
| {
|
| SourceEntry sourceEntry = _cache.get(source);
|
| @@ -4258,7 +4258,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| */
|
| HtmlEntry recordParseHtmlTaskResults(ParseHtmlTask task) {
|
| Source source = task.source;
|
| - AnalysisException thrownException = task.exception;
|
| + AnalysisException thrownException = task.thrownException;
|
| HtmlEntry htmlEntry = null;
|
| {
|
| SourceEntry sourceEntry = _cache.get(source);
|
| @@ -4332,7 +4332,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| */
|
| DartEntry recordResolveDartLibraryTaskResults(ResolveDartLibraryTask task) {
|
| LibraryResolver resolver = task.libraryResolver;
|
| - AnalysisException thrownException = task.exception;
|
| + AnalysisException thrownException = task.thrownException;
|
| DartEntry unitEntry = null;
|
| Source unitSource = task.unitSource;
|
| if (resolver != null) {
|
| @@ -4424,7 +4424,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| SourceEntry recordResolveDartUnitTaskResults(ResolveDartUnitTask task) {
|
| Source unitSource = task.source;
|
| Source librarySource = task.librarySource;
|
| - AnalysisException thrownException = task.exception;
|
| + AnalysisException thrownException = task.thrownException;
|
| DartEntry dartEntry = null;
|
| {
|
| SourceEntry sourceEntry = _cache.get(unitSource);
|
| @@ -4482,7 +4482,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| */
|
| SourceEntry recordResolveHtmlTaskResults(ResolveHtmlTask task) {
|
| Source source = task.source;
|
| - AnalysisException thrownException = task.exception;
|
| + AnalysisException thrownException = task.thrownException;
|
| HtmlEntry htmlEntry = null;
|
| {
|
| SourceEntry sourceEntry = _cache.get(source);
|
| @@ -5932,7 +5932,7 @@ abstract class AnalysisTask {
|
| * The exception that was thrown while performing this task, or `null` if the task completed
|
| * successfully.
|
| */
|
| - AnalysisException exception;
|
| + AnalysisException thrownException;
|
|
|
| /**
|
| * Initialize a newly created task to perform analysis within the given context.
|
| @@ -5963,7 +5963,7 @@ abstract class AnalysisTask {
|
| try {
|
| safelyPerform();
|
| } on AnalysisException catch (exception) {
|
| - exception = exception;
|
| + thrownException = exception;
|
| AnalysisEngine.instance.logger.logInformation2("Task failed: ${taskDescription}", exception);
|
| }
|
| return accept(visitor);
|
|
|