Index: tests/language/first_class_types_test.dart |
diff --git a/tests/language/first_class_types_test.dart b/tests/language/first_class_types_test.dart |
index 419dbbbc1d2975ab1ffa1f4ce311bc83c6306814..95090d6793d5fe81d599fc33f422959a585ed4ee 100644 |
--- a/tests/language/first_class_types_test.dart |
+++ b/tests/language/first_class_types_test.dart |
@@ -24,12 +24,19 @@ main() { |
var i = 1; |
var s = 'string'; |
var d = 3.14; |
+ var b = true; |
sameType(2, i); |
sameType('hest', s); |
sameType(1.2, d); |
+ sameType(false, b); |
var l = [1, 2, 3]; |
var m = {'a': 1, 'b': 2}; |
sameType([], l); |
sameType({}, m); |
+ |
+ // Test parameterized lists. |
+ sameType(new List<int>(), new List<int>()); |
+ differentType(new List<int>(), new List<num>()); |
+ differentType(new List<int>(), new List()); |
} |