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

Unified Diff: pkg/compiler/lib/src/js_emitter/type_test_registry.dart

Issue 2894893002: Add ElementCodegenWorldBuilder (Closed)
Patch Set: Updated cf. comments. Created 3 years, 7 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_emitter/type_test_registry.dart
diff --git a/pkg/compiler/lib/src/js_emitter/type_test_registry.dart b/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
index 2df546a49bc23eb36f3ee27ddd0a282af50af692..b6dc0d0ed70a5c3239274c20041ede5ce26c8ade 100644
--- a/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
+++ b/pkg/compiler/lib/src/js_emitter/type_test_registry.dart
@@ -7,7 +7,7 @@ library dart2js.js_emitter.type_test_registry;
import '../common.dart';
import '../common_elements.dart';
import '../elements/elements.dart'
- show ClassElement, Element, ElementKind, MemberElement, MethodElement;
+ show ClassElement, ElementKind, MemberElement, MethodElement;
import '../elements/entities.dart';
import '../elements/resolution_types.dart'
show
@@ -138,7 +138,7 @@ class TypeTestRegistry {
}
}
- bool canTearOff(Element function) {
+ bool canTearOff(MemberElement function) {
if (!function.isFunction ||
function.isConstructor ||
function.isAccessor) {
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/program_builder/collector.dart ('k') | pkg/compiler/lib/src/kernel/kernel_strategy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698