26void QV4::warnAboutCoercionToVoid(
29 auto log = qCritical().nospace().noquote();
30 if (
const CppStackFrame *frame = engine->currentStackFrame)
31 log << frame->source() <<
':' << frame->lineNumber() <<
": ";
32 log << value.toQStringNoThrow()
33 <<
" should be coerced to void because";
36 log <<
" the function called is insufficiently annotated.";
39 log <<
" the target type, a list of unknown elements, cannot be resolved.";
43 log <<
" The original value is retained. This will change in a future version of Qt.";