mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![]() Add annotations @pragma('dart2js:load-priority:normal') @pragma('dart2js:load-priority:high') The test shows that these annotations are scoped. This CL is just plumbing the annotation through as an argument to the runtime call to the code that implements `loadLibrary()`. Actual prioritization is not yet implemented. Change-Id: Iff1404baf34192139dab95e2dbb01c2d4e8dae45 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/270283 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Stephen Adams <sra@google.com> |
||
---|---|---|
.. | ||
lib/synced | ||
test | ||
analysis_options.yaml | ||
OWNERS | ||
pubspec.yaml | ||
README.md |
Package js_runtime
:
This package contains code that is shared between the dart2js compiler and the dart2js runtime libraries.
Important: all code under the lib/synced/
must be kept in sync with the
runtime at all times (in sdk/lib/_internal/js_runtime/lib/synced
). The
test/in_sync_test.dart
test verifies this.