Files
sdk/pkg/js_shared
Robert Nystrom 73117f0576 Reformat sdk/ using the new style.
There should be no actual code changes here, just formatting.

Change-Id: Id7356fdd9a0963ec0965b92e5ca1b218085f162e
CoreLibraryReviewExempt: No behavioral changes
Tested: No meaningful changes, ran on bots
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/394000
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Lasse Nielsen <lrn@google.com>
2024-11-08 15:46:36 +00:00
..
2024-11-08 15:46:36 +00:00

Package js_shared:

This code is a compile time dependency of dart2js and DDC. It is imported as a package: import by both compilers.

There is an exact copy in the SDK of the libraries in the pkg/js_shared/lib/synced sub-directory. Those libraries are imported as dart: imports by the dart2js and DDC runtime libraries.

Important: all code under pkg/js_shared/lib/synced must be kept in sync with the runtime (in sdk/lib/_internal/js_shared/lib/synced) at all times. The test/in_sync_test.dart test verifies this.