On Fri, Jul 29, 2016 at 10:05 PM, Brad Selfridge <bsselfri...@gmail.com> wrote:
> I'm trying to programmatically generate a new class, but am getting the
> following error:
>
> DynamicDescriptorSystem class(Object)>>doesNotUnderstand:
> #subclass:instanceVariableNames:classVariableNames:package:
>
> This is the method that I'm trying to execute:
>
> buildNewDescriptorSystemUsing: aDescriptorSystemClassName
>
>         descriptorSystem :=
>         DynamicDescriptorSystem subclass: aDescriptorSystemClassName asSymbol
>                         instanceVariableNames: ''
>                         classVariableNames: ''
>                         package: packageName asString
>
> I see examples of this all over Pharo and I copied this code almost
> verbatim.
>
> What am I doing wrong?

*very* strange.  That looks correct.  The only thing I can think of is
that you copy/pasted from somewhere and ended up with a hidden
character or strange unicode character that looks like a character but
is not.  Just for an experiments, can you try:
* Type it all out by hand
* Using ALL strings rather than those two calls.
* Change DynamicDescriptorSystem for Object.
* Try in a freshly downloaded Image.

cheers -ben

Reply via email to