Skip to content

Commit

Permalink
Add missed 'typeArguments' to FunctionExpressionInvocation.childEntities
Browse files Browse the repository at this point in the history
Change-Id: I2cc5873a35ef4a7b8f36560c80c9dff7fc3820be
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/261942
Reviewed-by: Samuel Rawlins <[email protected]>
Commit-Queue: Konstantin Shcheglov <[email protected]>
  • Loading branch information
scheglov authored and Commit Queue committed Sep 29, 2022
1 parent d8f9283 commit 42c58c1
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/analyzer/lib/src/dart/ast/ast.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5992,6 +5992,7 @@ class FunctionExpressionInvocationImpl extends InvocationExpressionImpl
@override
ChildEntities get _childEntities => ChildEntities()
..addNode('function', function)
..addNode('typeArguments', typeArguments)
..addNode('argumentList', argumentList);

@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,16 @@ FunctionExpressionInvocation
token: a
staticElement: self::@function::f::@parameter::a
staticType: A
typeArguments: TypeArgumentList
leftBracket: <
arguments
NamedType
name: SimpleIdentifier
token: int
staticElement: dart:core::@class::int
staticType: null
type: int
rightBracket: >
argumentList: ArgumentList
leftParenthesis: (
rightParenthesis: )
Expand Down Expand Up @@ -174,6 +184,16 @@ FunctionExpressionInvocation
token: x
staticElement: self::@function::f::@parameter::x
staticType: Never
typeArguments: TypeArgumentList
leftBracket: <
arguments
NamedType
name: SimpleIdentifier
token: int
staticElement: dart:core::@class::int
staticType: null
type: int
rightBracket: >
argumentList: ArgumentList
leftParenthesis: (
arguments
Expand Down Expand Up @@ -215,6 +235,16 @@ FunctionExpressionInvocation
token: x
staticElement: self::@function::f::@parameter::x
staticType: Never?
typeArguments: TypeArgumentList
leftBracket: <
arguments
NamedType
name: SimpleIdentifier
token: int
staticElement: dart:core::@class::int
staticType: null
type: int
rightBracket: >
argumentList: ArgumentList
leftParenthesis: (
arguments
Expand Down Expand Up @@ -500,6 +530,22 @@ FunctionExpressionInvocation
staticType: dynamic
rightParenthesis: )
staticType: dynamic
typeArguments: TypeArgumentList
leftBracket: <
arguments
NamedType
name: SimpleIdentifier
token: bool
staticElement: dart:core::@class::bool
staticType: null
type: bool*
NamedType
name: SimpleIdentifier
token: int
staticElement: dart:core::@class::int
staticType: null
type: int*
rightBracket: >
argumentList: ArgumentList
leftParenthesis: (
arguments
Expand Down

0 comments on commit 42c58c1

Please sign in to comment.