------- Comment #2 from simen.kja...@gmail.com 2009-05-06 07:53 -------
(In reply to comment #1)
> There might be a problem here in that in D you can write it without the
> new MyClass.Foo;
> Is the above trying to create a new Myclass.Foo or is it trying to create a
> MyClass and then access its Foo member? It depends on the type of Foo, and
> a dependency is, I think, what Walter has been trying to avoid.
> Nevertheless, I often forget the brackets myself and wouldn't mind this
> I just think the above means that it's not going to happen.
Ceraintly. However, new MyClass().Foo; has no such ambiguity until D becomes
capable of returning types from functions.