Index: Source/bindings/scripts/v8_interface.py |
diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py |
index 9ea47ae0e37c532ba3e2aab293cab46244aaf2ef..f194428dcf5309339f495aa9d1d389db3bb8c958 100644 |
--- a/Source/bindings/scripts/v8_interface.py |
+++ b/Source/bindings/scripts/v8_interface.py |
@@ -614,6 +614,9 @@ def resolution_tests_methods(effective_overloads): |
# 6. If there is more than one entry in S, then set d to be the |
# distinguishing argument index for the entries of S. |
index = distinguishing_argument_index(effective_overloads) |
+ for method in methods: |
+ method['distinguishing_argument_index'] = index |
+ |
# (7-9 are for handling |undefined| values for optional arguments before |
# the distinguishing argument (as “missing”), so you can specify only some |
# optional arguments. We don’t support this, so we skip these steps.) |