Index: sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart (revision 30705) |
+++ sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart (working copy) |
@@ -99,7 +99,8 @@ |
return cls == compiler.intClass |
|| cls == backend.intImplementation |
|| cls == backend.uint32Implementation |
- || cls == backend.uint31Implementation; |
+ || cls == backend.uint31Implementation |
+ || cls == backend.positiveIntImplementation; |
kasperl
2013/11/28 09:09:47
Move up to have the same order as in the method be
ngeoffray
2013/11/28 11:21:47
Done.
|
} |
if (containsOnlyDouble(compiler)) { |
return cls == compiler.doubleClass |
@@ -136,6 +137,7 @@ |
bool containsOnlyInt(Compiler compiler) { |
return base == compiler.intClass |
|| base == compiler.backend.intImplementation |
+ || base == compiler.backend.positiveIntImplementation |
|| base == compiler.backend.uint31Implementation |
|| base == compiler.backend.uint32Implementation; |
} |