Git, the D package manager
Vladimir Panteleev via Digitalmars-d
digitalmars-d at puremagic.com
Mon Feb 2 00:52:28 PST 2015
On Monday, 2 February 2015 at 08:46:40 UTC, Daniel Kozak wrote:
> And this is reason why rdmd suck (in my case).
> Example:
>
> return
> cast(EntityManagerFactory)Object.factory("cz.dlang.ddpa.EntityManagerFactoryImpl");
Object.factory is a misfeature. It causes ALL classes and their
virtual methods and everything that they refer, and so on, to be
built into the resulting binary, regardless if they're used or
not, and regardless if you use Object.factory or not.
> // this does not work with rdmd but works ok with dub
Fix: static import cz.dlang.ddpa;
More information about the Digitalmars-d
mailing list