blob: eeca51dc2f369c1ca28bf5606a05427003e2af0e [file] [log] [blame]
// Copyright (c) 2016, 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 to invoke any of the methods of class
/// Object on a prefix object or on a constant type literal that is immediately
/// followed by the token ‘.’.
/// @description Checks that there is a compile error if any of the methods of
/// class Object is invoking on prefix object.
/// @issue #25496
/// @author ngl@unipro.ru
import '../lib.dart' as lb;
main() {
lb.toString();
// ^
// [analyzer] unspecified
// [cfe] unspecified
}