https://issues.dlang.org/show_bug.cgi?id=16215
Alexander <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Alexander <[email protected]> --- Analogous case that does not work in dmd 2.086.0, but works in 2.085.0: class Base { class BaseInner {} } final class Derived: Base { bool someMethod() { return false; } final class DerivedInner: BaseInner { void func() { pragma(msg, typeof(this.outer)); // prints "Derived" someMethod(); } } } void main() {} compiler output: Derived onlineapp.d(17): Error: this for someMethod needs to be type Derived not type onlineapp.Base --
