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

Unified Diff: compiler/java/com/google/dart/compiler/type/AbstractType.java

Issue 10459070: Infer also field types in classes and top-level (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use Type.isInferred() Created 8 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: compiler/java/com/google/dart/compiler/type/AbstractType.java
diff --git a/compiler/java/com/google/dart/compiler/type/AbstractType.java b/compiler/java/com/google/dart/compiler/type/AbstractType.java
index c34f0cb24c05522cc68652abb8d5b6132504b0c8..b837413a0f73cf3a98059b40c167672ba2893187 100644
--- a/compiler/java/com/google/dart/compiler/type/AbstractType.java
+++ b/compiler/java/com/google/dart/compiler/type/AbstractType.java
@@ -8,4 +8,8 @@ package com.google.dart.compiler.type;
* Common superclass for all types.
*/
abstract class AbstractType implements Type {
+ @Override
+ public boolean isInferred() {
+ return false;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698