From aa926c8bd4e2bdc41f7370c3e6cf1f1d00aef8d9 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 4 Jun 2012 02:29:04 -0700 Subject: [PATCH] Use object_getClass for tab completion, not ->isa. --- Console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Console.cpp b/Console.cpp index df7d57b..b7a4533 100644 --- a/Console.cpp +++ b/Console.cpp @@ -264,7 +264,7 @@ static char **Complete(const char *word, int start, int end) { case CYDriver::AutoMessage: { CYDriver::Context &thing(driver.contexts_.back()); - expression = $M($M($ CYIndirect(thing.context_), $S("isa")), $S("messages")); + expression = $M($C1($V("object_getClass"), thing.context_), $S("messages")); for (CYDriver::Context::Words::const_iterator part(thing.words_.begin()); part != thing.words_.end(); ++part) prefix << (*part)->word_ << ':'; } break; -- 2.49.0