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

Unified Diff: tests/compiler/dart2js/type_test_helper.dart

Issue 2622583004: Use entities in all masks. (Closed)
Patch Set: Update comment. Created 3 years, 11 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: tests/compiler/dart2js/type_test_helper.dart
diff --git a/tests/compiler/dart2js/type_test_helper.dart b/tests/compiler/dart2js/type_test_helper.dart
index c221dfe5c117e86a43aaa805bcc321b645e3024c..4267faf9808511ea334ebf48e3d6a00c116cb395 100644
--- a/tests/compiler/dart2js/type_test_helper.dart
+++ b/tests/compiler/dart2js/type_test_helper.dart
@@ -94,6 +94,8 @@ class TypeEnvironment {
return element;
}
+ ClassElement getClass(String name) => getElement(name);
+
ResolutionDartType getElementType(String name) {
var element = getElement(name);
return element.computeType(compiler.resolution);

Powered by Google App Engine
This is Rietveld 408576698