diff options
Diffstat (limited to 'src/qml/jsruntime/qv4managed.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4managed.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4managed.cpp b/src/qml/jsruntime/qv4managed.cpp index 31bb8f2b94..6455a08037 100644 --- a/src/qml/jsruntime/qv4managed.cpp +++ b/src/qml/jsruntime/qv4managed.cpp @@ -168,29 +168,34 @@ QString Managed::className() const case Type_ForeachIteratorObject: s = "__ForeachIterator"; break; + case Type_RegExp: + s = "RegExp"; + break; + case Type_QmlSequence: + s = "QmlSequence"; + break; } return QString::fromLatin1(s); } bool Managed::hasInstance(Managed *m, const ValueRef) { - m->engine()->current->throwTypeError(); + return m->engine()->current->throwTypeError(); } ReturnedValue Managed::construct(Managed *m, CallData *) { - m->engine()->current->throwTypeError(); + return m->engine()->current->throwTypeError(); } ReturnedValue Managed::call(Managed *m, CallData *) { - m->engine()->current->throwTypeError(); + return m->engine()->current->throwTypeError(); } ReturnedValue Managed::getLookup(Managed *m, Lookup *) { - m->engine()->current->throwTypeError(); - return 0; + return m->engine()->current->throwTypeError(); } void Managed::setLookup(Managed *m, Lookup *, const ValueRef) |