// 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.

/// @assertion The definitions of least and greatest closure are changed in null
/// safe libraries to substitute [Never] in positions where previously [Null
/// would have been substituted, and [Object?] in positions where previously
/// [Object] or [dynamic] would have been substituted.
/// @description Check that [Object?] type is substituted for [typedef check =
/// int? Function()] typedef.
/// @note Read more about the least and greatest closure test template:
/// https://github.com/dart-lang/co19/issues/575#issuecomment-613542349
///
/// @author iarkh@unipro.ru


import "../../../../Utils/expect.dart";

typedef check = int? Function();

void main() {
  void f(check Function() g) => g();
  f(() => captureTypeArgument()..call());
  f(() => captureTypeArgument()..call().toString());

  f(() => captureTypeArgument()..call('Hello'));
//                                   ^
// [analyzer] unspecified
// [cfe] unspecified
}
