>>> void main()
>>> {
>>>         auto str = "hello";
>>>         enum fun = (){writeln(str);};//replace enum -> auto to compile
>>>         gun!fun();
>>> }
>>
>>
>> fun depends on str, which is a runtime value. Either make str an enum
>> or put them in the module scope (which will make the auto's enum's)
>
> Thank you!

Which, by the way, does not explain why auto/auto works...

Reply via email to