// 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.

class PrivateFactoryResolutionTest {

  static testMain() {
    new TypeError._uninstantiable();
  }
}

main() {
  PrivateFactoryResolutionNegativeTest.testMain();
}

// 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.

class PrivateFactoryResolutionNegativeTest {

  static testMain() {
    new TypeError._uninstantiable();
  }
}

main() {
  PrivateFactoryResolutionNegativeTest.testMain();
}

Improve frog error reporting when providing too few or too many arguments.
Improve frog error reporting when providing too few or too many arguments.

This is a partial re-landing of r3720, but without getting rid of the
duplicate errors and warnings.

R=floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9264069

git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@3727 260f80e4-7a28-3924-810f-c04153c831b5
