[squeak-dev] Syntax error in MC package (_ problem?)
Bert Freudenberg
bert at freudenbergs.de
Mon Sep 21 10:42:29 UTC 2009
On 20.09.2009, at 05:00, Ross Boylan wrote:
> First, can I do something so that _ will be accepted as a regular
> character, at least for the import and perhaps beyond?
Yes, hack the parser.
> I wanted to use _ as a way of indicating a method was private
If you name a method pvtSomething, the compiler checks that it is sent
only to self.
> Second, what is the preferred way to indicate assignment, _ or := ?
:= is preferred over _.
There is no decision yet about supporting ←, and if so, if this
should be preferred over :=.
> Third, given something in squeaksource that needs a fix up, how does
> one
> do that?
Unzip the mcz, remove snapshot.bin, edit source.st, re-zip.
- Bert -
More information about the Squeak-dev
mailing list
|