// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. class Class { final T field; const Class(this.field); } T id(T t) => t; typedef F1 = T Function(T); typedef F2 = T Function(T); const objectTypeLiteral = Object; const c2 = identical; const int Function(int) partialInstantiation = id; const instance = const Class(0); const functionTypeLiteral = F1; const genericFunctionTypeLiteral = F2; const listLiteral = [0]; const setLiteral = {0}; const mapLiteral = {0: 'foo'}; const listConcatenation = [...listLiteral]; const setConcatenation = {...setLiteral}; const mapConcatenation = {...mapLiteral};