-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
NNBDIssues related to NNBD ReleaseIssues related to NNBD Releaselegacy-area-front-endLegacy: Use area-dart-model instead.Legacy: Use area-dart-model instead.
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);
}Metadata
Metadata
Assignees
Labels
NNBDIssues related to NNBD ReleaseIssues related to NNBD Releaselegacy-area-front-endLegacy: Use area-dart-model instead.Legacy: Use area-dart-model instead.