blob: 53c22219534559aa6ed23d338a076e3423c769fd [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');