Index: sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart (revision 30754) |
+++ sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart (working copy) |
@@ -90,6 +90,13 @@ |
return uint31TypeCache = getConcreteTypeFor(compiler.typesTask.uint31Type); |
} |
+ TypeInformation positiveIntTypeCache; |
+ TypeInformation get positiveIntType { |
+ if (positiveIntTypeCache != null) return positiveIntTypeCache; |
+ return positiveIntTypeCache = |
+ getConcreteTypeFor(compiler.typesTask.positiveIntType); |
+ } |
+ |
TypeInformation doubleTypeCache; |
TypeInformation get doubleType { |
if (doubleTypeCache != null) return doubleTypeCache; |