Index: Source/bindings/scripts/compute_interfaces_info_individual.py |
diff --git a/Source/bindings/scripts/compute_interfaces_info_individual.py b/Source/bindings/scripts/compute_interfaces_info_individual.py |
index 9bfa7b6263d22a973e61bc9154354f99b85bf247..925b203ae81ac5f4fc7dcb66a6b6701436ff878d 100755 |
--- a/Source/bindings/scripts/compute_interfaces_info_individual.py |
+++ b/Source/bindings/scripts/compute_interfaces_info_individual.py |
@@ -133,7 +133,7 @@ def collect_union_types_from_definitions(definitions): |
"""Traverse definitions and collect all union types.""" |
def union_types_from(things): |
- return (thing.idl_type for thing in things |
+ return (thing.idl_type.as_union_type for thing in things |
if thing.idl_type.is_union_type) |
this_union_types = set() |