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