| Index: sdk/lib/_internal/compiler/implementation/compiler.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| index d56d8b03d4b09bff34e31941d0a683bfa6d4c959..1de80f07f742a4ee91d05cf2849b3efa9db58655 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| @@ -534,6 +534,7 @@ abstract class Compiler implements DiagnosticListener {
|
| bool nativeTest = library.entryCompilationUnit.script.name.contains(
|
| 'dart/tests/compiler/dart2js_native');
|
| if (nativeTest
|
| + || libraryName == 'dart:mirrors'
|
| || libraryName == 'dart:math'
|
| || libraryName == 'dart:html'
|
| || libraryName == 'dart:html_common'
|
| @@ -544,7 +545,8 @@ abstract class Compiler implements DiagnosticListener {
|
| || libraryName == 'dart:html'
|
| || libraryName == 'dart:html_common'
|
| || libraryName == 'dart:indexed_db'
|
| - || libraryName == 'dart:svg') {
|
| + || libraryName == 'dart:svg'
|
| + || libraryName == 'dart:mirrors') {
|
| // dart:html and dart:svg need access to convertDartClosureToJS and
|
| // annotation classes.
|
| // dart:mirrors needs access to the Primitives class.
|
|
|