On 3/8/11, bearophile <bearophileh...@lycos.com> wrote: > empty is not an array method, it's a free function that is used with a > funny syntax.
Yes but the compiler doesn't know that until std.array is imported. A better error message is that empty isn't a property of that array. It's much easier to reason about this way.