-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work oncustomer-dart2jsfront-end-fastafront-end-missing-errorlegacy-area-front-endLegacy: Use area-dart-model instead.Legacy: Use area-dart-model instead.
Milestone
Description
Tasks:
- generate the loadlibrary instruction when calling
deferred.loadLibrary - generate a top level method so represent a tearoff of
loadLibrary(a method is needed to ensure that we preserve that two tearoffs are identical) - determine deferred-access patterns of dependencies used within a method (e.g. if a constant is accessed via deferred prefix, dart2js needs to know so it can put the constant in a separate output unit).
status: done, but can be improved to be more precise and efficient by recording the information while parsing. - generate checks for deferred accesses.
- generate compile-time errors for uses of deferred types in API declarations and inheritance (requires deeper changes in the outline builder)
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work oncustomer-dart2jsfront-end-fastafront-end-missing-errorlegacy-area-front-endLegacy: Use area-dart-model instead.Legacy: Use area-dart-model instead.