language_fan wrote:

>> I agree it would be better to allow forward references for nested
>> functions, I just wished to point out that the current behavior is not a
>> bug, it was built that way.
> 
> That's great news actually. It might even mean that this might change
> some day.

I still find it silly that it was built that way. Seems to me you should be
able to forward-reference *any* symbol that has a value that can't change
over its lifetime. Functions, const/immutable vars, typedefs, classes, etc.

-- 
Michiel Helvensteijn

Reply via email to