Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: pkg/compiler/lib/src/js_backend/mirrors_data.dart

Issue 2927043002: Handle `new Object()` in compile_from_dill_test (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/js_backend/mirrors_data.dart
diff --git a/pkg/compiler/lib/src/js_backend/mirrors_data.dart b/pkg/compiler/lib/src/js_backend/mirrors_data.dart
index 62c947b477c39b824cb8273de4b8eb5503a0cb7b..0ceaafcaca455f2462a7c57f581d40c8a42117c9 100644
--- a/pkg/compiler/lib/src/js_backend/mirrors_data.dart
+++ b/pkg/compiler/lib/src/js_backend/mirrors_data.dart
@@ -227,11 +227,11 @@ class MirrorsDataImpl implements MirrorsData, MirrorsDataBuilder {
}
}
- bool shouldRetainGetter(FieldElement element) {
+ bool shouldRetainGetter(FieldEntity element) {
return isTreeShakingDisabled && isMemberAccessibleByReflection(element);
}
- bool shouldRetainSetter(FieldElement element) {
+ bool shouldRetainSetter(FieldEntity element) {
return isTreeShakingDisabled && isMemberAccessibleByReflection(element);
}
« no previous file with comments | « pkg/compiler/lib/src/common_elements.dart ('k') | pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698