mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![]() https://dart-review.googlesource.com/c/sdk/+/287660 implements it. I want to fix pre-existing violations before enabling. Bug: https://github.com/dart-lang/sdk/issues/34978 Change-Id: Ie7731162c643018a2312b265f444bc00534c0a51 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287664 Reviewed-by: Leon Senft <leonsenft@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> |
||
---|---|---|
.. | ||
lib/synced | ||
test | ||
analysis_options.yaml | ||
OWNERS | ||
pubspec.yaml | ||
README.md |
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.