google / file.dart

A generic file system abstraction for Dart.
https://pub.dev/packages/file
122 stars 48 forks source link

Support Browser target for MemoryFileSystem #67

Open jtmcdole opened 6 years ago

jtmcdole commented 6 years ago

Sometimes you want to test everything in your project with DDC. MemoryFileSystem imports too much to be compiled with DDC.

tvolkert commented 6 years ago

Which imports cause problems?

matanlurey commented 6 years ago

FWIW, DDC internally does not (and will not, at least for now) support configurable imports.

That might be part of it.

jtmcdole commented 6 years ago

It was not configurable imports, the compilation error I had while writing DDC tests while trying to use MemoryFilesystem was along the lines of mixins. Could interfaces be a proper (visible) library with no dart:io transitive requirements?

tvolkert commented 6 years ago

It could have been supermixins... afaik dart2js and DDC don't yet support them