blob: 1afde94939ec5d958130af645453315b625c5c6d [file] [log] [blame]
// Copyright (c) 2018, 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.
// @dart = 2.7
/*member: global#instantiate1:needsArgs*/
class Class {
/*spec.member: Class.id:direct,explicit=[id.T*],needsArgs,needsInst=[<int*>]*/
T id<T>(T t, String s) => t;
}
main() {
int Function(int, String s) x = new Class().id;
print("${x.runtimeType}");
}