Comment #0 by verylonglogin.reg — 2013-11-14T07:35:47Z
There should be no errors:
---
inout(Object) f(inout(Object), inout int = 0) { return null; }
static assert(is(typeof(f(Object.init)) == Object));
---
Error: static assert (is(const(Object) == Object)) is false
---
Comment #1 by robert.schadek — 2024-12-13T18:13:59Z