Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: pkg/analyzer/lib/src/task/html.dart

Issue 1847633002: Fix more strong mode errors in analyzer (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix copied comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/task/html.dart
diff --git a/pkg/analyzer/lib/src/task/html.dart b/pkg/analyzer/lib/src/task/html.dart
index ae1fb0dfda3d7077efe8b4a0a4b1897e1974549e..257567764be06baa4dda3b18db1fcaf76b96226e 100644
--- a/pkg/analyzer/lib/src/task/html.dart
+++ b/pkg/analyzer/lib/src/task/html.dart
@@ -166,7 +166,7 @@ class DartScriptsTask extends SourceBasedAnalysisTask {
* input descriptors describing those inputs for a task with the
* given [target].
*/
- static Map<String, TaskInput> buildInputs(Source target) {
+ static Map<String, TaskInput> buildInputs(AnalysisTarget target) {
return <String, TaskInput>{DOCUMENT_INPUT: HTML_DOCUMENT.of(target)};
}
@@ -237,7 +237,7 @@ class HtmlErrorsTask extends SourceBasedAnalysisTask {
* input descriptors describing those inputs for a task with the
* given [target].
*/
- static Map<String, TaskInput> buildInputs(Source target) {
+ static Map<String, TaskInput> buildInputs(AnalysisTarget target) {
EnginePlugin enginePlugin = AnalysisEngine.instance.enginePlugin;
Map<String, TaskInput> inputs = <String, TaskInput>{
DART_ERRORS_INPUT: DART_SCRIPTS.of(target).toListOf(DART_ERRORS)
@@ -342,7 +342,7 @@ class ParseHtmlTask extends SourceBasedAnalysisTask {
* input descriptors describing those inputs for a task with the given
* [source].
*/
- static Map<String, TaskInput> buildInputs(Source source) {
+ static Map<String, TaskInput> buildInputs(AnalysisTarget source) {
return <String, TaskInput>{CONTENT_INPUT_NAME: CONTENT.of(source)};
}

Powered by Google App Engine
This is Rietveld 408576698