File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
dart_model/dart_model_analyzer_service/lib Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import 'package:dart_model/model.dart';
17
17
import 'package:dart_model/query.dart' ;
18
18
import 'package:stream_transform/stream_transform.dart' ;
19
19
20
+ // ignore_for_file: deprecated_member_use
20
21
class DartModelAnalyzerService implements Service {
21
22
final AnalysisContext ? context;
22
23
AnalysisSession ? session;
Original file line number Diff line number Diff line change 1
1
import 'package:_fe_analyzer_shared/src/macros/code_optimizer.dart' ;
2
- import 'package:macros/macros.dart' ;
3
- import 'package:macros/src/executor/introspection_impls.dart' ;
4
- import 'package:macros/src/executor/remote_instance.dart' ;
5
- import 'package:macros/src/executor.dart' ;
6
2
import 'package:_fe_analyzer_shared/src/scanner/scanner.dart' ;
7
3
import 'package:benchmark_harness/benchmark_harness.dart' ;
8
4
import 'package:dart_style/dart_style.dart' ;
5
+ import 'package:macros/macros.dart' ;
6
+ import 'package:macros/src/executor.dart' ;
7
+ import 'package:macros/src/executor/introspection_impls.dart' ;
8
+ import 'package:macros/src/executor/remote_instance.dart' ;
9
9
10
10
/// A benchmark which only calls `run` once inside `excersize` .
11
11
class RunOnceBenchmarkBase extends BenchmarkBase {
@@ -313,6 +313,14 @@ class SimpleNamedStaticType implements NamedStaticType {
313
313
@override
314
314
Future <bool > isSubtypeOf (covariant StaticType other) =>
315
315
throw UnimplementedError ();
316
+
317
+ @override
318
+ Future <NamedStaticType ?> asInstanceOf (TypeDeclaration declaration) {
319
+ throw UnimplementedError ();
320
+ }
321
+
322
+ @override
323
+ ParameterizedTypeDeclaration get declaration => throw UnimplementedError ();
316
324
}
317
325
318
326
final boolIdentifier =
You can’t perform that action at this time.
0 commit comments