| Index: pkg/front_end/lib/src/fasta/target_implementation.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/target_implementation.dart b/pkg/front_end/lib/src/fasta/target_implementation.dart
|
| index ecccfa33db84322fb138e36a575fdb16942969e9..dd69f1c122b4e50ab87ee0f3c2359b89a8ef045a 100644
|
| --- a/pkg/front_end/lib/src/fasta/target_implementation.dart
|
| +++ b/pkg/front_end/lib/src/fasta/target_implementation.dart
|
| @@ -75,8 +75,8 @@ abstract class TargetImplementation extends Target {
|
| /// String, which is the compile-time error message.
|
| Builder getCompileTimeError(Loader loader) {
|
| if (cachedCompileTimeError != null) return cachedCompileTimeError;
|
| - return cachedCompileTimeError =
|
| - loader.coreLibrary.getConstructor("_CompileTimeError", isPrivate: true);
|
| + return cachedCompileTimeError = loader.coreLibrary
|
| + .getConstructor("_CompileTimeError", bypassLibraryPrivacy: true);
|
| }
|
|
|
| /// Returns a reference to the constructor used for creating a runtime error
|
| @@ -87,7 +87,8 @@ abstract class TargetImplementation extends Target {
|
| return cachedDuplicatedFieldInitializerError;
|
| }
|
| return cachedDuplicatedFieldInitializerError = loader.coreLibrary
|
| - .getConstructor("_DuplicatedFieldInitializerError", isPrivate: true);
|
| + .getConstructor("_DuplicatedFieldInitializerError",
|
| + bypassLibraryPrivacy: true);
|
| }
|
|
|
| /// Returns a reference to the constructor of [FallThroughError] error. The
|
| @@ -111,8 +112,8 @@ abstract class TargetImplementation extends Target {
|
| if (cachedInvocation != null) {
|
| return cachedInvocation;
|
| }
|
| - return cachedInvocation =
|
| - loader.coreLibrary.getConstructor("_InvocationMirror", isPrivate: true);
|
| + return cachedInvocation = loader.coreLibrary
|
| + .getConstructor("_InvocationMirror", bypassLibraryPrivacy: true);
|
| }
|
|
|
| /// Returns a reference to the constructor used for creating `native`
|
|
|