blob: 3add350b133decb6c4a1525912000890fbfc85dd [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 ordinary method invocation i has the form
* o.m(a1, . . . , an, xn+1 : an+1, ... , xn+k :an+k)
* where o is not the name of a class or a library prefix.
* @description Checks that arguments must be separated with comma.
* @compile-error
* @author msyabro
* @reviewer kaigorodov
*/
main() {
var o;
try {
o.f(1 2);
} catch(e) {}
}