Prevention of UFCS hijacking

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Aug 28 06:27:57 PDT 2013


On 8/27/13, Maxim Fomin <maxim at maxim-fomin.ru> wrote:
> What should I tell except you are surprising of current state of
> things?

I'm just raising awareness of the issue. And it's surprising when
you're coding and not expecting it.

Imagine adding an import to a 3rd party library and no longer getting
errors at compile time when you assign to a field that doesn't exist.
Anyone could be caught off-guard by this.


More information about the Digitalmars-d mailing list