| Index: pkg/analyzer_cli/bin/analyzer.dart
|
| diff --git a/tests/language/deferred_function_type_lib.dart b/pkg/analyzer_cli/bin/analyzer.dart
|
| similarity index 53%
|
| copy from tests/language/deferred_function_type_lib.dart
|
| copy to pkg/analyzer_cli/bin/analyzer.dart
|
| index 1f0e610aac59572ef332c77ebb2d2acdac5ab189..b0a32feee9eabf0503e2c5bdc853349d12530738 100644
|
| --- a/tests/language/deferred_function_type_lib.dart
|
| +++ b/pkg/analyzer_cli/bin/analyzer.dart
|
| @@ -1,20 +1,16 @@
|
| +#!/usr/bin/env dart
|
| // 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.
|
|
|
| -import 'package:expect/expect.dart';
|
| +import 'package:analyzer_cli/src/driver.dart';
|
|
|
| -class T {
|
| - A foo(int x) {}
|
| -}
|
| -
|
| -class A{}
|
|
|
| -typedef A F(int x);
|
|
|
| -use(x) => x;
|
|
|
| -runTest() {
|
| - use(new A());
|
| - Expect.isTrue(new T().foo is F);
|
| +/// The entry point for the analyzer.
|
| +void main(List<String> args) {
|
| + var starter = new Driver();
|
| + starter.start(args);
|
| +
|
| }
|
|
|