Effective D book?

Timon Gehr timon.gehr at gmx.ch
Sat Jun 15 17:42:13 PDT 2013


On 06/16/2013 01:36 AM, Walter Bright wrote:
> On 6/15/2013 2:34 PM, Timon Gehr wrote:
>> It sure is, the module system is supposed to provide hijacking
>> protection.
>
> Inner scopes override outer scopes. That isn't what hijacking is.

A module can introduce a new symbol and silently change what some 
identifier lookup refers to, where the previous symbol referred to 
resides in a different module.


More information about the Digitalmars-d mailing list