aboutsummaryrefslogtreecommitdiffstats
path: root/qmljs_runtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmljs_runtime.cpp')
-rw-r--r--qmljs_runtime.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmljs_runtime.cpp b/qmljs_runtime.cpp
index 4c200b251f..55258fd06d 100644
--- a/qmljs_runtime.cpp
+++ b/qmljs_runtime.cpp
@@ -509,6 +509,7 @@ Value __qmljs_object_default_value(ExecutionContext *ctx, Value object, int type
return r;
}
+ ctx->throwTypeError();
return Value::undefinedValue();
}