Correctly report locations of output files
This commit is contained in:
@@ -116,7 +116,7 @@ public class JetCompiler implements TranslatingCompiler {
|
||||
|
||||
if (scriptFile == null) return;
|
||||
|
||||
OutputItemsCollectorImpl collector = new OutputItemsCollectorImpl(outputDir) {
|
||||
OutputItemsCollectorImpl collector = new OutputItemsCollectorImpl() {
|
||||
@Override
|
||||
public void add(Collection<File> sourceFiles, File outputFile) {
|
||||
super.add(sourceFiles, outputFile);
|
||||
|
||||
@@ -90,7 +90,7 @@ public final class K2JSCompiler implements TranslatingCompiler {
|
||||
|
||||
private static void doCompile(@NotNull final MessageCollector messageCollector, @NotNull OutputSink sink, @NotNull final Module module,
|
||||
@NotNull final CompilerEnvironment environment) {
|
||||
OutputItemsCollectorImpl collector = new OutputItemsCollectorImpl(environment.getOutput());
|
||||
OutputItemsCollectorImpl collector = new OutputItemsCollectorImpl();
|
||||
outputCompilerMessagesAndHandleExitCode(messageCollector, collector, new Function<PrintStream, Integer>() {
|
||||
@Override
|
||||
public Integer fun(PrintStream stream) {
|
||||
|
||||
Reference in New Issue
Block a user