File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class BinaryPrinter implements InfoVisitor<void> {
72
72
void visitProgram (ProgramInfo info) {
73
73
visitFunction (info.entrypoint);
74
74
sink.writeInt (info.size);
75
- sink.writeString (info.dart2jsVersion);
75
+ sink.writeStringOrNull (info.dart2jsVersion);
76
76
writeDate (info.compilationMoment);
77
77
writeDuration (info.compilationDuration);
78
78
// Note: we don't record the 'toJsonDuration' field. Consider deleting it?
@@ -302,7 +302,7 @@ class BinaryReader {
302
302
var info = new ProgramInfo ();
303
303
info.entrypoint = readFunction ();
304
304
info.size = source.readInt ();
305
- info.dart2jsVersion = source.readString ();
305
+ info.dart2jsVersion = source.readStringOrNull ();
306
306
info.compilationMoment = readDate ();
307
307
info.compilationDuration = readDuration ();
308
308
info.toJsonDuration = new Duration (microseconds: 0 );
You can’t perform that action at this time.
0 commit comments