[mtasc] Note about "with"
hank williams
hank777 at gmail.com
Tue Mar 8 20:21:05 CET 2005
Did you just add "with" support?
Hank
On Tue, 8 Mar 2005 20:12:07 +0100, Nicolas Cannasse
<ncannasse at motion-twin.com> wrote:
> A small note about "with" implementation in MTASC :
>
> var p : Point;
> with(p) {
> trace(x);
> trace(something);
> }
>
> will compile with MMC but will fail with MTASC (since "something" is not a
> field of "Point").
> Of course, if "p" does not have a type, or if "something" is a local/member
> variable, it works.
>
> Nicolas
>
> --
> MTASC : no more coffee break while compiling
>
More information about the mtasc
mailing list