Index: Source/bindings/templates/methods.cpp |
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
index a06d29fffe7e5052dbd875a753b17541839bcfd2..4600752b0d498e2f17ea3b8418aeefba4fd63478 100644 |
--- a/Source/bindings/templates/methods.cpp |
+++ b/Source/bindings/templates/methods.cpp |
@@ -178,6 +178,10 @@ if (!isUndefinedOrNull(info[{{argument.index}}]) && !info[{{argument.index}}]->I |
} |
{% endif %}{# not argument.use_permissive_dictionary_conversion #} |
{{v8_value_to_local_cpp_value(argument)}} |
+{% elif argument.is_explicit_nullable %} |
+if (!isUndefinedOrNull(info[{{argument.index}}])) { |
+ {{v8_value_to_local_cpp_value(argument) | indent}} |
+} |
{% else %}{# argument.is_nullable #} |
{{v8_value_to_local_cpp_value(argument)}} |
{% endif %}{# argument.is_nullable #} |