https://issues.dlang.org/show_bug.cgi?id=14128

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Nick Treleaven <[email protected]> ---
These declarations all alias the same symbol:

        alias a = this.v;
        alias b = that.v;
        alias c = Foo.v;
        alias d = v;

`a` and `b` resolve at compile-time to `v` based on the *type* of `this` (or
`that`). The use of an alias of `v` then resolves at runtime to `this.v`.

I agree that `a` and `b` look like they are binding to runtime fields.

--

Reply via email to