https://issues.dlang.org/show_bug.cgi?id=14168
--- Comment #1 from Jakob Ovrum <[email protected]> --- (In reply to Jakob Ovrum from comment #0) > Instantiating RefCounted with a class or interface type should > reference-count the actual instance and not just a class reference. To this > end, RefCounted currently rejects instantiating with class types for > forward-compatibility purposes (at least I'm pretty sure that's why it does > it). I filed a PR to reject interface types as well until class support is properly implemented: https://github.com/D-Programming-Language/phobos/pull/2977 --
