[nem-en] Parse error on !@type
Paul Bludov
pbludov at gmail.com
Mon Jan 22 02:23:49 CET 2007
----- Original Message -----
From: "Kamil Skalski" <kamil.skalski at gmail.com>
To: <devel-en at nemerle.org>
Sent: Monday, January 22, 2007 2:07 AM
Subject: Re: [nem-en] Parse error on !@type
> It's the same kind of problem like, e.g.
>
> def x =!true;
>
> you cannot connect operators this way, so I guess this is not
> something we should special-case
'@' is a special prefix and must be handled in a special way.
If i can write something like
public test(t : int) : int
{
1+t;
}
I definitelly can write
public test(@type : int) : int
{
1+ at type;
}
So it is a bug and must be fixed.
More information about the devel-en
mailing list