blob: 690d54d7444038fba5e13c478359571a78d6d04b [file] [log] [blame]
// Copyright (c) 2015, 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 It is a compile-time error if m is a member of class Object and
/// e is either a prefix object or a constant type literal.
/// @description Check that it is a compile-time error if in expression e.m
/// e is a library prefix and m is Object's toString() method
/// @issue 24332
/// @author sgrekhov@unipro.ru
import 'instance_of_type_lib.dart' as lib;
main() {
var x = lib.toString;
// ^
// [analyzer] unspecified
// [cfe] unspecified
}