[Improvement](debug message) add necessary info to DCHECK message (#11586)

This commit is contained in:
Gabriel
2022-08-08 15:54:09 +08:00
committed by GitHub
parent 411254c128
commit 87f56914e9

View File

@ -320,7 +320,8 @@ public:
? ((DataTypeNullable*)get_return_type(arguments).get())
->get_nested_type()
: get_return_type(arguments))))
<< " with " << return_type->get_name() << " and " << func_return_type->get_name();
<< " for function '" << this->get_name() << "' with " << return_type->get_name()
<< " and " << func_return_type->get_name();
return build_impl(arguments, return_type);
}