[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
Translator bug.
- To: <xtech>
- Subject: Translator bug.
- From: Michael McClary <michael>
- Date: Tue, 10 Jul 90 10:49:10 PDT
I noticed the following fragment in translated output:
CLASS (UnionRecruiter,Accumulator) {
PUBLIC:
...
/* Instance variables (defined in Smalltalk class) */
protected:
COPY(UnionRecruiter):
CHKPTR(MuSet) muSet;
};
(This is only a representative sample.)
Note that, because of the colon used in its invocation, the COPY macro
always terminates with a protection-class setting keyword, such as
"protected" or "private". Therefore the
protected:
should appear after, not before:
COPY(UnionRecruiter):
if it is not to be overridden by the hidden protection-class declaration
in the COPY() macro.
The version of the COPY() definition that is expanded when both garbage
collection and remote procedure calls are used happens to use "protected",
but two other definitions using "private" are waiting for either of the
flags to disappear.
michael