tools icon indicating copy to clipboard operation
tools copied to clipboard

Support Browser target for MemoryFileSystem

Open jtmcdole opened this issue 7 years ago • 4 comments

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

jtmcdole avatar Jan 13 '18 18:01 jtmcdole

Which imports cause problems?

tvolkert avatar Jan 30 '18 16:01 tvolkert

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

That might be part of it.

matanlurey avatar Jan 30 '18 17:01 matanlurey

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?

jtmcdole avatar Jan 30 '18 17:01 jtmcdole

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

tvolkert avatar Jan 30 '18 19:01 tvolkert