blob: b205976a38dcf92907a6b7ef95f0773569bbd95e [file] [log] [blame]
// Copyright (c) 2017, 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.9
// VMOptions=--reify-generic-functions
import 'package:expect/expect.dart';
class Foo<T> {
a<A>() {
b<B>() {
c<C>() => '$T $A $B $C';
return c;
}
return b;
}
}
main() {
Expect.equals('bool int double String',
((new Foo<bool>().a<int>())<double>())<String>());
}