On Tuesday, 3 December 2019 at 08:47:45 UTC, Andrea Fontana wrote:
On Tuesday, 3 December 2019 at 07:24:31 UTC, Basile B. wrote:A testA() {return alwaysReturnNull(); // Tnull can be implictly converted to A} still nice tho.Why not [1]? [1] typeof(null) alwaysReturnNull() { ... } Andrea
Yeah nice, that works instead of auto. That reminds me of the discussion about TBottom.