blob: 3e0e25fc5f966f3d7020e70ebb361f19fb1bc0f1 [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 An unconditional ordinary method invocation i has the form
/// o.m(a1, ..., an, xn+1 : an+1, ..., xn+k : an+k).
/// @description Checks static invocations, when o denotes a class in the
/// current scope. Arguments must be separated with a comma.
/// @author msyabro
class C {
static f(p1, p2) {}
}
main() {
C.f(1 2);
// ^
// [analyzer] unspecified
// [cfe] unspecified
}