Closed
Description
What is the return type of deferredPrefix.loadLibrary()
when NNBD?
Currently in analyzer it is Future<dynamic>
.
But this does not match CFE.
@leafpetersen @lrhn Could you clarify this?
import self as self;
import "dart:async" as asy;
import "dart:core" as core;
import "dart:math" deferred as math;
static method main() → dynamic {
asy::Future<dynamic>? v = LoadLibrary(math);
core::print(v);
}