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

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

Issue 59073003: Version 0.8.10.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
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: dart/tests/compiler/dart2js/type_combination_test.dart
===================================================================
--- dart/tests/compiler/dart2js/type_combination_test.dart (revision 29808)
+++ dart/tests/compiler/dart2js/type_combination_test.dart (working copy)
@@ -374,10 +374,10 @@
rule(jsFixedArray, jsFixedArray, jsFixedArray);
- check(nonPrimitive1, nullType, (type) => type is HBoundedType);
- check(nonPrimitive2, nullType, (type) => type is HBoundedType);
- check(nullType, nonPrimitive1, (type) => type.isNullable);
- check(nullType, nonPrimitive2, (type) => type.isNullable);
+ check(nonPrimitive1, nullType, (type) => type == nonPrimitive1.nullable());
+ check(nonPrimitive2, nullType, (type) => type == nonPrimitive2.nullable());
+ check(nullType, nonPrimitive1, (type) => type == nonPrimitive1.nullable());
+ check(nullType, nonPrimitive2, (type) => type == nonPrimitive2.nullable());
ruleSet.validateCoverage();
}
« no previous file with comments | « dart/tests/compiler/dart2js/mock_compiler.dart ('k') | dart/tests/compiler/dart2js_extra/runtime_type_isolate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698