Index: pkg/analyzer/lib/src/context/context.dart |
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart |
index 616c3ff6e0b675daa3e184d5a3213204fdca2363..468355606fe43b5b99dfa03b459a32d5680f4b63 100644 |
--- a/pkg/analyzer/lib/src/context/context.dart |
+++ b/pkg/analyzer/lib/src/context/context.dart |
@@ -1155,9 +1155,10 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
} |
@override |
+ @deprecated |
ht.HtmlUnit resolveHtmlUnit(Source htmlSource) { |
computeHtmlElement(htmlSource); |
- return parseHtmlUnit(htmlSource); |
+ throw new UnimplementedError('Not supported in the new task model'); |
} |
@override |