Morgan :)
Morgan :)
Closing as stale.
Closing as stale.
`source_gen` uses mirrors here https://github.com/dart-lang/source_gen/blob/master/source_gen/lib/src/type_checker.dart to check whether a type seen via analysis is the same as one the generator can see in its runtime. Many generators have a small,...
It sounds to me like the check today is too strict: it is currently rejecting web programs that have native code in their transitive _packages_, when it could instead only...
And perhaps we should also have a concrete example of a program we all agree should _not_ compile :)
I'm sympathetic to both sides. It feels to me like `dart:io` being platform specific was a mistake: it should itself be multiplatform, which would solve the problem once instead of...
> > Could we have a compile mode you can turn on where we replace `dart:io` with the platform-suitable package of your choice? > > Instead of doing this you...
Hmmmmmmmm. If `dart:io` was a normal package, you could just pull it from a difference source in your pubspec and all the tools would work fine. It's not import binding...
Thanks Kilian. I'm not particularly excited about more flexible generator output: I prefer simple. Adding user preferences as a build input definitely has downsides to weigh against the benefits. I...
Thanks! I'll keep it open as a reminder to myself, renamed the issue accordingly :)