blob: a9130ffbfb27a31b7ac371f99e710e4490c21fe7 [file] [log] [blame]
/*
* Copyright (c) 2011, 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 If a name N is referenced by a library L and N would be
* introduced into the top level scope of L by an import from a library whose
* URI begins with dart: and an import from a library whose URI does not begin
* with dart:
* The import from dart: is implicitly extended by a hide N clause.
* A static warning is issued.
* @description Checks that if N is referenced by L and N would be introduced
* by implicit import of 'dart:core' and library whose URI does not begin with
* 'dart:', then N from dart:core is hidden. Also checks that static warning is
* issued.
* @static-warning
* @author ilya
*/
import "../../Utils/expect.dart";
//import 'dart:core'; // implicit import
import "1_Imports_A06_lib.dart";
main() {
Expect.equals('MYLIST', List.typename);
}