From 767e8255044f9a52cf1f91702cea36c9260853ce Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 14 Sep 2012 23:14:06 -0700 Subject: [PATCH] Correct a simple typo in a thrown exception message. --- Execute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Execute.cpp b/Execute.cpp index 781b795..4f7358a 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -1091,7 +1091,7 @@ static JSValueRef Type_callAsFunction(JSContextRef context, JSObjectRef object, static JSObjectRef Type_callAsConstructor(JSContextRef context, JSObjectRef object, size_t count, const JSValueRef arguments[], JSValueRef *exception) { CYTry { if (count != 0) - throw CYJSError(context, "incorrect number of arguments to type cast function"); + throw CYJSError(context, "incorrect number of arguments to Type allocator"); Type_privateData *internal(reinterpret_cast(JSObjectGetPrivate(object))); sig::Type *type(internal->type_); -- 2.50.0