| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index 1a34416d767768c500c54fe61b0e7a209b161ab3..e33041bb0a4df4aa0bb441c9ceda7aa41767648e 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -297,7 +297,7 @@ if (info.Length() >= 2 && listener && !impl->toNode())
|
| {######################################}
|
| {% macro union_type_method_call_and_set_return_value(method) %}
|
| {% for argument in method.union_arguments %}
|
| -{{argument.cpp_type}} {{argument.cpp_value}};
|
| +{{argument.cpp_type}} {{argument.cpp_value}}{{argument.cpp_type_initializer}};
|
| {% endfor %}
|
| {{method.cpp_value}};
|
| {% if method.is_null_expression %}{# used by getters #}
|
|
|