blob: 7e7e218b001d17174af240564f6394aad3a8cb3e [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 Evaluation of a property extraction i of the form e.m proceeds
/// as follows: ...
/// Let T be the static type of e. It is a static type warning if T does not
/// have a method or getter named m
/// @description Checks that it is a compile error if C does not declare,
/// explicitly or implicitly, a getter with the appropriate name and that such
/// code results in a NoSuchMethodError.
/// @author msyabro
class C {
}
main() {
C.getter;
// ^
// [analyzer] unspecified
// [cfe] unspecified
}