Index: bindings/dart/scripts/dart_utilities.py |
diff --git a/bindings/dart/scripts/dart_utilities.py b/bindings/dart/scripts/dart_utilities.py |
index 38e3899aac92a7ebddcfe4231d999960652017b8..9966323077d9bbc4858580a4dd615b66092c9a48 100644 |
--- a/bindings/dart/scripts/dart_utilities.py |
+++ b/bindings/dart/scripts/dart_utilities.py |
@@ -154,11 +154,10 @@ def _generate_native_entry(interface_name, thing, name, kind, |
blink_entry = tag |
else: |
blink_entry = "_%s_%d_Callback" % (name, index) |
- native_entry = "%s_%s" % (interface_name, tag) |
+ components = [interface_name, tag] |
if types is not None: |
- count = len(types) |
- types = "_".join(types) |
- native_entry = "%s_RESOLVER_STRING_%d_%s" % (native_entry, count, types) |
+ components.extend(types) |
+ native_entry = "_".join(components) |
if not is_static and kind != 'Constructor': |
args.insert(0, "mthis") |
return {'blink_entry': "$" + blink_entry, |