X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/73180f9a88e81f417fec82aae68ea2c48977418e..64a505ff07b28093bb91a680f8a2c2292327e896:/Execute.cpp diff --git a/Execute.cpp b/Execute.cpp index c71bc9f..bb337ba 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -1484,7 +1484,7 @@ static JSValueRef Type_callAsFunction_toCYON(JSContextRef context, JSObjectRef o std::stringbuf out; CYOptions options; CYOutput output(out, options); - (new(pool) CYEncodedType(Decode(pool, internal->type_)))->Output(output, CYNoFlags); + (new(pool) CYTypeExpression(Decode(pool, internal->type_)))->Output(output, CYNoFlags); return CYCastJSValue(context, CYJSString(out.str().c_str())); } CYCatch(NULL) }