version and extern problems

Chris Miller chris at dprogramming.com
Tue Jul 10 18:06:38 PDT 2007


On Tue, 10 Jul 2007 20:24:23 -0400, Walter Bright  
<newshound1 at digitalmars.com> wrote:

> BCS wrote:
>> That is one thing I have never understood: why does lexical order ever  
>> (outside of statement lists e.i. function) ever cause an issue?
>
> const string x = "abc" ~ foo;
> const string foo = x[1..4];

This is always an issue and should cause an error, if extern uses strings  
or not. How does this really pertain to extern that doesn't cause problems  
even without the requested feature?



More information about the Digitalmars-d mailing list