blob: 2708b6baf473c4d481a721c4243a9b9ba030c998 [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.
* @compile-error
* @issue #25496
* @author ngl@unipro.ru
*/
import '../lib.dart' as lb;
main() {
lb.toString();
}