Skip to content

Commit

Permalink
Return generated kernel filename on incremental compilation results. (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
aam authored Sep 6, 2017
1 parent 883f81c commit 5aabbe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend_server/lib/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class _FrontendCompiler implements CompilerInterface {
final IOSink sink = new File(_kernelBinaryFilename).openWrite();
final BinaryPrinter printer = printerFactory.newBinaryPrinter(sink);
printer.writeProgramFile(deltaProgram.newProgram);
_outputStream.writeln("$boundaryKey");
_outputStream.writeln("$boundaryKey $_kernelBinaryFilename");
await sink.close();
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend_server/test/server_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Future<int> main() async {
boundaryKey = s.substring(RESULT_OUTPUT_SPACE.length);
}
} else {
if (s == boundaryKey) {
if (s.startsWith(boundaryKey)) {
boundaryKey = null;
receivedResult.sendPort.send(true);
}
Expand Down

0 comments on commit 5aabbe1

Please sign in to comment.