File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
pkg/analyzer/lib/src/dart/element Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
4
5
- // ignore_for_file: analyzer_use_new_elements
6
-
7
5
import 'package:_fe_analyzer_shared/src/type_inference/type_analyzer_operations.dart'
8
6
as shared
9
7
show
@@ -191,7 +189,7 @@ class TypeConstraintGatherer extends shared.TypeConstraintGenerator<
191
189
@override
192
190
List <TypeImpl >? getTypeArgumentsAsInstanceOf (
193
191
InterfaceType type, InterfaceElementImpl2 typeDeclaration) {
194
- for (var interface in type.element .allSupertypes) {
192
+ for (var interface in type.element3 .allSupertypes) {
195
193
if (interface .element3 == typeDeclaration) {
196
194
var substitution = Substitution .fromInterfaceType (type);
197
195
var substitutedInterface =
You can’t perform that action at this time.
0 commit comments