Add cast to prepare for package:file update (#33268)

This commit is contained in:
Todd Volkert 2019-05-23 12:33:24 -07:00 committed by GitHub
parent bc7bc94083
commit c6129b4e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ abstract class DevFSContent {
Stream<List<int>> contentsAsStream();
Stream<List<int>> contentsAsCompressedStream() {
return contentsAsStream().transform<List<int>>(gzip.encoder);
return contentsAsStream().cast<List<int>>().transform<List<int>>(gzip.encoder);
}
/// Return the list of files this content depends on.