blob: 890ae7faebe75ca1e7ae93be0c191e4dc42cffd5 [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.
/// @assertion An extension is in scope if the name is shadowed by another
/// declaration
/// @description Check that if there is no naming conflict then extension is in
/// scope
/// @author
import "../../Utils/expect.dart";
import "scope_all_lib.dart";
import "scope_bar_lib.dart";
main() {
List<String> list = ["Lily", "was", "here"];
Expect.equals("baz", list.baz());
Expect.equals("staticBaz", Baz.staticBaz);