blob: 2b264b21e685700cfcbaf3c29201c90b1c725522 [file] [log] [blame]
// Copyright (c) 2023, 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.
// This test checks that the order of elements in the outline doesn't affect the
// outcome of cyclicity checks.
extension type E1(F1 it) {} // Ok.
typedef F1 = F1; // Error.
typedef F2 = F2; // Error.
extension type E2(F2 it) {} // Ok.