On 12/13/16 6:03 PM, Timon Gehr wrote:
On 13.12.2016 23:33, Andrei Alexandrescu wrote:
Destroy.

https://github.com/dlang/DIPs/pull/51/files


Andrei

1. The syntax is ambiguous.

Is import.foo.bar.baz the symbol baz in module foo.bar, or the symbol
bar.baz in module foo?

I'd prefer syntax like (import foo.bar).baz and (import foo).bar.baz.
(I.e., the syntax of import expressions would closely mirror that of
import declarations, and would be unambiguous.)

That is a problem. I switched to the most attractive alternate syntax. https://github.com/andralex/DIPs/blob/2e5859c0f64ac4949123fe8de39ccf2ccf72d859/DIPs/DIP1005.md


Andrei

Reply via email to