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

Unified Diff: pkg/compiler/lib/src/elements/types.dart

Issue 2939033002: Towards compiling Hello World! (Closed)
Patch Set: Fix parameter ordering 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/elements/types.dart
diff --git a/pkg/compiler/lib/src/elements/types.dart b/pkg/compiler/lib/src/elements/types.dart
index bd829cd362aa64036b702120fa9d6564dd1d9aaf..1eb24697869121666dd011253b5d584178d22f4e 100644
--- a/pkg/compiler/lib/src/elements/types.dart
+++ b/pkg/compiler/lib/src/elements/types.dart
@@ -89,6 +89,8 @@ class InterfaceType extends DartType {
InterfaceType(this.element, this.typeArguments);
+ bool get isInterfaceType => true;
+
bool get containsTypeVariables =>
typeArguments.any((type) => type.containsTypeVariables);

Powered by Google App Engine
This is Rietveld 408576698