Thread overview
Attributes
Apr 02, 2013
Namespace
Apr 02, 2013
Jacob Carlborg
Apr 02, 2013
Namespace
April 02, 2013
Quick question about attributes:
Is it intended that after the '@' can come any number of blanks?
Which means that '@property' is the same as '@         property'?
April 02, 2013
On 2013-04-02 15:40, Namespace wrote:
> Quick question about attributes:
> Is it intended that after the '@' can come any number of blanks?
> Which means that '@property' is the same as '@         property'?

Hmm, I'm not sure. I mean, "@property" is not a single token, it's two. In general you can have arbitrary amount of whitespace between tokens.

-- 
/Jacob Carlborg
April 02, 2013
On Tuesday, 2 April 2013 at 14:17:19 UTC, Jacob Carlborg wrote:
> On 2013-04-02 15:40, Namespace wrote:
>> Quick question about attributes:
>> Is it intended that after the '@' can come any number of blanks?
>> Which means that '@property' is the same as '@         property'?
>
> Hmm, I'm not sure. I mean, "@property" is not a single token, it's two. In general you can have arbitrary amount of whitespace between tokens.

Yes all attributes consist of two tokens. But I was a bit shocked as I tried it and it worked. :D