Missing attributes in FunctionAttribute

2013-02-10 Thread Namespace
Before I open a new bug report, I would like to ask if anyone knows why FunctionAttribute neither has const, immutable, shared or inout? Especially const and immutable were important to know.

Re: Missing attributes in FunctionAttribute

2013-02-10 Thread Dicebot
On Sunday, 10 February 2013 at 12:29:46 UTC, Namespace wrote: Before I open a new bug report, I would like to ask if anyone knows why FunctionAttribute neither has const, immutable, shared or inout? Especially const and immutable were important to know. Well, technically, those are not functi

Re: Missing attributes in FunctionAttribute

2013-02-10 Thread Andrej Mitrovic
On 2/10/13, Dicebot wrote: > On Sunday, 10 February 2013 at 12:29:46 UTC, Namespace wrote: >> Before I open a new bug report, I would like to ask if anyone >> knows why FunctionAttribute neither has const, immutable, >> shared or inout? >> Especially const and immutable were important to know. > >

Re: Missing attributes in FunctionAttribute

2013-02-10 Thread Dicebot
On Sunday, 10 February 2013 at 18:25:25 UTC, Andrej Mitrovic wrote: On 2/10/13, Dicebot wrote: On Sunday, 10 February 2013 at 12:29:46 UTC, Namespace wrote: Before I open a new bug report, I would like to ask if anyone knows why FunctionAttribute neither has const, immutable, shared or inout?

Re: Missing attributes in FunctionAttribute

2013-02-10 Thread Dicebot
On Sunday, 10 February 2013 at 19:51:36 UTC, Andrej Mitrovic wrote: On 2/10/13, Dicebot wrote: Which part? Probably it refers to delegates, because it has both type qualifiers and attribute that qualifies hidden context pointer. Could be. Anyway it's here: http://dlang.org/declaration.html#