File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
source_gen/lib/src/constants Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 22// for details. All rights reserved. Use of this source code is governed by a
33// BSD-style license that can be found in the LICENSE file.
44
5- // TODO(kevmoo): migrate analyzer APIs when we can get latest with a stable SDK
6- // ignore_for_file: deprecated_member_use
7-
85import 'package:analyzer/dart/constant/value.dart' ;
96import 'package:analyzer/dart/element/element2.dart' ;
107import 'package:analyzer/dart/element/type.dart' ;
@@ -84,7 +81,7 @@ Revivable reviveInstance(DartObject object, [LibraryElement2? origin]) {
8481 url = Uri .parse (urlOfElement (i.constructor2.enclosingElement2));
8582 final result = Revivable ._(
8683 source: url,
87- accessor: i.constructor.name ,
84+ accessor: i.constructor2.name3 ! ,
8885 namedArguments: i.namedArguments,
8986 positionalArguments: i.positionalArguments,
9087 );
You can’t perform that action at this time.
0 commit comments