| Index: sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
|
| index 9d92fc5c8882a5f037c2c9630607aaa479b46f28..e85ffae0544ac0a34de9a2a402ecedbc5c2d1e0f 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart
|
| @@ -661,7 +661,8 @@ class CodeEmitterTask extends CompilerTask {
|
| elementOrSelector is Element &&
|
| // Make sure to retain names of unnamed constructors, and
|
| // for common native types.
|
| - (name == '' && backend.isNeededForReflection(elementOrSelector) ||
|
| + ((name == '' &&
|
| + backend.isAccessibleByReflection(elementOrSelector)) ||
|
| _isNativeTypeNeedingReflectionName(elementOrSelector))) {
|
|
|
| // TODO(ahe): Enable the next line when I can tell the difference between
|
|
|