On Monday, 13 April 2020 at 05:54:52 UTC, evilrat wrote: > if (auto weapon = cast(Weapon) gi) > weapon.Attack(); Does the parlor (currently illegal in Dlang) if (Weapon w := gi) w.Attack(); look nicer or even (currently legal): if (Weapon w ._= gi) w.Attack();