blob: 44f9af14033057b04ee7b61b6825e680889758d3 [file] [log] [blame]
// 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.
/*class: GeneralGeneric:
builder-name=GeneralGeneric,
builder-onType=T,
builder-type-params=[T],
extension-members=[method=GeneralGeneric|method],
extension-name=GeneralGeneric,
extension-onType=T,
extension-type-params=[T]
*/
extension GeneralGeneric<T> on T {
/*member: GeneralGeneric|method:
builder-name=method,
builder-params=[#this],
builder-type-params=[T],
member-name=GeneralGeneric|method,
member-params=[#this],
member-type-params=[#T]
*/
T method() => this;
}
main() {
}