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

Unified Diff: pkg/analyzer/lib/src/codegen/tools.dart

Issue 1855643002: More strong mode changes to analysis_server (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Backout changes to options file 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/codegen/tools.dart
diff --git a/pkg/analyzer/lib/src/codegen/tools.dart b/pkg/analyzer/lib/src/codegen/tools.dart
index 763359abed2f37d245c025911521c55ada3447ab..cccab10ce4abda6d4e009be9d8dc2f2345fab25a 100644
--- a/pkg/analyzer/lib/src/codegen/tools.dart
+++ b/pkg/analyzer/lib/src/codegen/tools.dart
@@ -511,7 +511,8 @@ abstract class HtmlCodeGenerator {
* Execute [callback], wrapping its output in an element with the given
* [name] and [attributes].
*/
- void element(String name, Map<String, String> attributes, [void callback()]) {
+ void element(String name, Map<dynamic, String> attributes,
+ [void callback()]) {
add(makeElement(name, attributes, collectHtml(callback)));
}
« no previous file with comments | « pkg/analysis_server/test/source/caching_put_package_map_provider_test.dart ('k') | pkg/analyzer/lib/src/context/context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698