Skip to content

Commit

Permalink
Fix missing_return violation newly enforced in Dart ~2.3.2-dev.0.1 (#79)
Browse files Browse the repository at this point in the history
Fix missing_return violation newly enforced in Dart ~2.3.2-dev.0.1
  • Loading branch information
srawlins committed May 23, 2019
1 parent 829f7be commit 8335ee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/binary_serialization.dart
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ class BinaryReader {
TypedefInfo info = new TypedefInfo.internal();
_readBasicInfo(info);
info.type = source.readString();
return info;
});

OutputUnitInfo _readOutputOrNull() {
Expand Down
1 change: 1 addition & 0 deletions lib/json_info_codec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ class JsonToAllInfoConverter extends Converter<Map<String, dynamic>, AllInfo> {
return new OutputUnitInfo.internal();
}
assert(false);
return null;
});
}

Expand Down

0 comments on commit 8335ee5

Please sign in to comment.