Unverified Commit 1080c298 authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Roll engine to c73be7ada2e1066e2a6f04f0541406409c2bfa6b (#16707)

parent 09ca3c18
5822b6e578de7b6c6c0d802dd2b5b9d363e48c14 c73be7ada2e1066e2a6f04f0541406409c2bfa6b
...@@ -9,6 +9,7 @@ import 'package:analyzer/file_system/file_system.dart' as file_system; ...@@ -9,6 +9,7 @@ import 'package:analyzer/file_system/file_system.dart' as file_system;
import 'package:analyzer/file_system/physical_file_system.dart'; import 'package:analyzer/file_system/physical_file_system.dart';
import 'package:analyzer/source/analysis_options_provider.dart'; import 'package:analyzer/source/analysis_options_provider.dart';
import 'package:analyzer/source/error_processor.dart'; import 'package:analyzer/source/error_processor.dart';
import 'package:analyzer/source/line_info.dart';
import 'package:analyzer/source/package_map_resolver.dart'; import 'package:analyzer/source/package_map_resolver.dart';
import 'package:analyzer/src/context/builder.dart'; // ignore: implementation_imports import 'package:analyzer/src/context/builder.dart'; // ignore: implementation_imports
import 'package:analyzer/src/dart/sdk/sdk.dart'; // ignore: implementation_imports import 'package:analyzer/src/dart/sdk/sdk.dart'; // ignore: implementation_imports
...@@ -187,7 +188,7 @@ class AnalysisErrorDescription { ...@@ -187,7 +188,7 @@ class AnalysisErrorDescription {
return severity.displayName; return severity.displayName;
} }
LineInfo_Location get location => line.getLocation(error.offset); CharacterLocation get location => line.getLocation(error.offset);
String get path => _shorten(cwd.path, error.source.fullName); String get path => _shorten(cwd.path, error.source.fullName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment