// Copyright (c) 2019, 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. T method1(T t) => t; Map method2(T t, S s) => {t: s}; const function0 = /*cfe.Function(method1)*/ method1; const int Function(int) instantiation0 = /*cfe.Instantiation(method1)*/ method1; const Map Function(String, int) instantiation1 = /*cfe.Instantiation(method2)*/ method2; main() { print( /*cfe|dart2js.Function(method1)*/ /*analyzer.Function(method1,type=T Function(T))*/ function0); print( /*cfe.Instantiation(method1)*/ /*dart2js.Instantiation(method1)*/ /*analyzer.Function(method1,type=int Function(int))*/ instantiation0); print( /*cfe.Instantiation(method2)*/ /*dart2js.Instantiation(method2)*/ /*analyzer.Function(method2,type=Map Function(String, int))*/ instantiation1); }