> On Aug 14, 2020, at 4:28 PM, Christofer Dutz <christofer.d...@c-ware.de> > wrote: > > 1) Make the private constructors work
Use -allow-private-constructors=true Here is some of the options I have in my asconfigc file (where I’m using private constructors): "additionalOptions": "-js-output-optimization=skipAsCoercions -js-dynamic-access-unknown-members=true -allow-private-constructors=true -js-complex-implicit-coercions=false -js-vector-index-checks=false" FWIW, I find asconfigc by far the easiest way to define the options for building projects. > 2) Make the getQualifiedClassName work No idea why this is not working for you. I’m definitely using getQualifiedClassName, but I don’t know if I used it with private constructors, so there might be an issue with that. Maybe resolving #1 will fix #2?