Index: tests/language/map_literal2_negative_test.dart |
=================================================================== |
--- tests/language/map_literal2_negative_test.dart (revision 10854) |
+++ tests/language/map_literal2_negative_test.dart (working copy) |
@@ -8,7 +8,7 @@ |
class MapLiteral2NegativeTest<T> { |
test() { |
try { |
- var m = const <T>{"a": 0}; // Type parameter is not allowed with const. |
+ var m = const <String, T>{"a": 0}; // Type parameter is not allowed with const. |
ahe
2012/08/16 19:52:49
Long line.
regis
2012/08/16 20:11:00
Done.
|
} catch (TypeError error) { |
} |
} |