Fix copying source files in simple optimization mode. Fix #501

This commit is contained in:
Alexey Andreev 2020-06-01 12:07:42 +03:00
parent e610c13e69
commit 6f7c2dff2b

View File

@ -486,7 +486,9 @@ public class TeaVM implements TeaVMHost, ServiceRepository {
}
private ListableClassHolderSource lazyPipeline() {
return new PostProcessingClassHolderSource();
PostProcessingClassHolderSource result = new PostProcessingClassHolderSource();
writtenClasses = result;
return result;
}
private void insertClassInit(ListableClassHolderSource classes) {