Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 04bc46b

Browse files
authored
Update invocation.dart (#73)
Use `astFactory` instead of `new`.
1 parent 09b4571 commit 04bc46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/builders/expression/invocation.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class _MethodInvocationBuilder extends Object
102102
$period,
103103
stringIdentifier(_method),
104104
_generics.isNotEmpty
105-
? new TypeArgumentList(
105+
? astFactory.typeArgumentList(
106106
$openBracket,
107107
_generics.map((t) => t.buildType(scope)).toList(),
108108
$closeBracket,

0 commit comments

Comments
 (0)