blob: e2fbf7d5645388d7acc5c4ada0127f53fc2a4fed [file] [log] [blame]
// Copyright (c) 2015, 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.
// Regression test for
// Used to fail when methods contain a name starting with `get`
import 'package:expect/expect.dart';
confuse(x) => x;
class MA {
noSuchMethod(i) => Expect.equals(i.positionalArguments.length, 1);
main() {
confuse(new MA()).getFoo('a');