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

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

Issue 2942863002: Compile and run Hello World! (Closed)
Patch Set: Rebased 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_emitter/runtime_type_generator.dart
diff --git a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart
index 442aa31893289defe6200a16c0feb68f545f10fb..a38591a9b70567a3e065437ea119291ed3c6926e 100644
--- a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart
+++ b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart
@@ -14,6 +14,7 @@ import '../elements/resolution_types.dart'
import '../elements/elements.dart'
show ClassElement, Element, FunctionElement, MixinApplicationElement;
import '../elements/entities.dart';
+import '../elements/types.dart';
import '../js/js.dart' as jsAst;
import '../js/js.dart' show js;
import '../js_backend/js_interop_analysis.dart';
@@ -81,12 +82,12 @@ class RuntimeTypeGenerator {
TypeTestRegistry get _typeTestRegistry => emitterTask.typeTestRegistry;
- Set<ClassElement> get checkedClasses => _typeTestRegistry.checkedClasses;
+ Set<ClassEntity> get checkedClasses => _typeTestRegistry.checkedClasses;
- Iterable<ClassElement> get classesUsingTypeVariableTests =>
+ Iterable<ClassEntity> get classesUsingTypeVariableTests =>
_typeTestRegistry.classesUsingTypeVariableTests;
- Set<ResolutionFunctionType> get checkedFunctionTypes =>
+ Set<FunctionType> get checkedFunctionTypes =>
_typeTestRegistry.checkedFunctionTypes;
/// Generates all properties necessary for is-checks on the [classElement].

Powered by Google App Engine
This is Rietveld 408576698