Fix error with properties not available in renderer

This commit is contained in:
Alexey Andreev 2015-01-27 14:29:40 +04:00
parent cd699bffcb
commit 6353fad620

View File

@ -396,6 +396,7 @@ public class TeaVM implements TeaVMHost, ServiceRepository {
builder.setMinified(minifying);
SourceWriter sourceWriter = builder.build(writer);
Renderer renderer = new Renderer(sourceWriter, classSet, classLoader, this);
renderer.setProperties(properties);
if (debugEmitter != null) {
int classIndex = 0;
for (String className : classSet.getClassNames()) {