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

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

Issue 12207081: Add a type kind to TypedSelector. A typed selector can either be (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/language/mixin_this_use_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_combination_test.dart
===================================================================
--- tests/compiler/dart2js/type_combination_test.dart (revision 18306)
+++ tests/compiler/dart2js/type_combination_test.dart (working copy)
@@ -2024,14 +2024,14 @@
void main() {
MockCompiler compiler = new MockCompiler();
- nonPrimitive1 = new HBoundedType.nonNull(
- compiler.mapClass.computeType(compiler));
- nonPrimitive2 = new HBoundedType.nonNull(
- compiler.functionClass.computeType(compiler));
+ nonPrimitive1 = new HBoundedType(
+ compiler.mapClass.computeType(compiler), canBeNull: false);
+ nonPrimitive2 = new HBoundedType(
+ compiler.functionClass.computeType(compiler), canBeNull: false);
potentialArray = new HBoundedPotentialPrimitiveArray(
- compiler.listClass.computeType(compiler), true);
+ compiler.listClass.computeType(compiler));
potentialString = new HBoundedPotentialPrimitiveString(
- compiler.stringClass.computeType(compiler), true);
+ compiler.stringClass.computeType(compiler));
testUnion(compiler);
testIntersection(compiler);
}
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/language/mixin_this_use_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698