You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For initializeFromComponent to work correctly the platform has to be
provided (as the other libraries provided are linked to some platform,
and loading another one is thus no good).
This CL changes it so we don't load another one, and checks that the
component we're trying to initialize from actually contains dart:core.
Change-Id: I88d30436c101c589b0555ff70ae21297ed665d7b
Reviewed-on: https://dart-review.googlesource.com/c/93435
Commit-Queue: Jens Johansen <[email protected]>
Reviewed-by: Alexander Aprelev <[email protected]>
Copy file name to clipboardExpand all lines: pkg/front_end/testcases/incremental_initialize_from_dill/load_from_component_explicitly_import_dart_core.yaml
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,16 @@
2
2
# for details. All rights reserved. Use of this source code is governed by a
3
3
# BSD-style license that can be found in the LICENSE.md file.
4
4
5
-
# Initialize from component, where the component is linked to one sdk, and where
6
-
# the incremental compiler loads another sdk. Risk when doing this: Having two
7
-
# definitions of the same thing (e.g. the class 'String'), which could lead to
8
-
# errors such as "The argument type 'dart.core::String' can't be assigned to
5
+
# Initialize from component, where the component is linked to a sdk, and where
6
+
# the incremental compiler (could) load another sdk.
7
+
# Risk when doing this: Having two definitions of the same thing
8
+
# (e.g. the class 'String'), which could lead to errors such as
9
+
# "The argument type 'dart.core::String' can't be assigned to
0 commit comments