Skip to content

Commit

Permalink
Elements. Set element for a synthetic covariant merge.
Browse files Browse the repository at this point in the history
Change-Id: I61e7ba6c6753811eedf75acdfdfcc294467dc8e0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/404200
Reviewed-by: Brian Wilkerson <[email protected]>
Reviewed-by: Phil Quitslund <[email protected]>
Commit-Queue: Konstantin Shcheglov <[email protected]>
  • Loading branch information
scheglov authored and Commit Queue committed Jan 13, 2025
1 parent 077a4c3 commit a5c3b34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/analyzer/lib/src/dart/element/inheritance_manager3.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,11 @@ class InheritanceManager3 {
result.parameters = transformedParameters;
result.returnType = executable.returnType;
result.typeParameters = executable.typeParameters.cast();
result.element = MethodElementImpl2(
Reference.root(), // TODO(scheglov): wrong
executable.name,
result,
);
return result;
}

Expand Down

0 comments on commit a5c3b34

Please sign in to comment.