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

Unified Diff: test/generated_sdk/lib/core/function.dart

Issue 955513007: merge class extensions from patch files (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « test/generated_sdk/lib/core/expando.dart ('k') | test/generated_sdk/lib/core/string.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/generated_sdk/lib/core/function.dart
diff --git a/test/generated_sdk/lib/core/function.dart b/test/generated_sdk/lib/core/function.dart
index 9146397aeae04ac22b4514f36d1e2ab23d8edad0..f1f73bd0a5e89d573eb56903b85ee42dca8c23d3 100644
--- a/test/generated_sdk/lib/core/function.dart
+++ b/test/generated_sdk/lib/core/function.dart
@@ -68,4 +68,13 @@ abstract class Function {
* own `operator==` and `hashCode` depending on the object.
*/
bool operator==(Object other);
+
+ static Map<String, dynamic> _toMangledNames(
+ Map<Symbol, dynamic> namedArguments) {
+ Map<String, dynamic> result = {};
+ namedArguments.forEach((symbol, value) {
+ result[_symbolToString(symbol)] = value;
+ });
+ return result;
+ }
}
« no previous file with comments | « test/generated_sdk/lib/core/expando.dart ('k') | test/generated_sdk/lib/core/string.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698