| class Class<T> { | |
| final T field; | |
| const Class(this.field); | |
| } | |
| T id<T>(T t) => t; | |
| const int Function(int) partialInstantiation = id; | |
| const instance = const Class<int>(0); | |
| const listLiteral = <int>[0]; | |
| const setLiteral = <int>{0}; | |
| const mapLiteral = <int, String>{0: 'foo'}; | |
| const listConcatenation = <int>[...listLiteral]; | |
| const setConcatenation = <int>{...setLiteral}; | |
| const mapConcatenation = <int, String>{...mapLiteral}; | |
| main() {} |