[Glass] GemStone compiler errors

Paul Baumann via Glass glass at lists.gemtalksystems.com
Thu Nov 24 12:20:04 PST 2016


If those are double quotes then you are compiling a comment, and that would
never have a compiler error. If those are two single quotes then you are
compiling code that might answer a string, that would not error either.
Neither would compile to a method though.


I don't have an environment to see the code and test this right now, but I
might be able to get you looking in the right direction.

You are compiling a method for what class? I suspect that if context is nil
then you should remove methodName from the source code. nil context would
be a doit method that might not be expected to be added to the
methodDictionary of a class. The compiler code might even add a #doit
method name to the source code if nil context.

It is not normal to have to call private methods that start with an
underscore. You might look at senders to see if there is a public method
that does what you want. I know, many times the public methods do not exist
for what you need.

On Nov 23, 2016 9:06 AM, "BrunoBB via Glass" <glass at lists.gemtalksystems.com>

> hi  lautarox,
> Using GemStone 3.3.0 and using double quotes worked for me:
> ('''methodName', String lf, ' ^1''') _compileInContext: nil symbolList:
> (GsCurrentSession currentSession symbolList).
> regards,
> bruno
> --
> View this message in context: http://forum.world.st/
> GemStone-compiler-errors-tp4924387p4924396.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20161124/03861d63/attachment.html>

More information about the Glass mailing list