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

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

Issue 87783003: Add UInt32 and UInt31 types to better infer bit operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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/simple_inferrer_final_field_test.dart
===================================================================
--- tests/compiler/dart2js/simple_inferrer_final_field_test.dart (revision 30666)
+++ tests/compiler/dart2js/simple_inferrer_final_field_test.dart (working copy)
@@ -39,11 +39,11 @@
typesInferrer.getTypeOfElement(element).simplify(compiler));
}
- checkFieldTypeInClass('A', 'intField', compiler.typesTask.intType);
+ checkFieldTypeInClass('A', 'intField', compiler.typesTask.uint31Type);
checkFieldTypeInClass('A', 'giveUpField1',
findTypeMask(compiler, 'Interceptor', 'nonNullSubclass'));
checkFieldTypeInClass('A', 'giveUpField2',
compiler.typesTask.dynamicType.nonNullable());
- checkFieldTypeInClass('A', 'fieldParameter', compiler.typesTask.intType);
+ checkFieldTypeInClass('A', 'fieldParameter', compiler.typesTask.uint31Type);
}));
}

Powered by Google App Engine
This is Rietveld 408576698