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 3e269a2692823c990cd7e0ff1643165234f170cd..bf5026229585797100c964aceff51d9f9b011f1d 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 == '' && |
Johnni Winther
2014/06/27 07:43:01
Add parentheses around 'name == ... isAccess...(..
herhut
2014/06/27 12:34:38
Done.
|
+ backend.isAccessibleByReflection(elementOrSelector) || |
_isNativeTypeNeedingReflectionName(elementOrSelector))) { |
// TODO(ahe): Enable the next line when I can tell the difference between |