Skip to content

Commit 0df3c66

Browse files
committed
Update rf_annotation_arguments_visitor.dart
1 parent 05cad2e commit 0df3c66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/reactive_forms_generator/lib/src/output/rf_annotation_arguments_visitor.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ class ClassRenameVisitor extends GeneralizingAstVisitor<void> {
4141
void visitClassDeclaration(ClassDeclaration node) {
4242
if (node is ClassDeclarationImpl) {
4343
final newNode = ClassDeclarationImpl(
44-
namePart: node.namePart,
45-
body: node.body,
4644
comment: null,
4745
metadata: node.metadata
4846
// .where(
@@ -51,6 +49,7 @@ class ClassRenameVisitor extends GeneralizingAstVisitor<void> {
5149
.toList(),
5250
augmentKeyword: node.augmentKeyword,
5351
abstractKeyword: node.abstractKeyword,
52+
macroKeyword: node.macroKeyword,
5453
sealedKeyword: node.sealedKeyword,
5554
baseKeyword: node.baseKeyword,
5655
interfaceKeyword: node.interfaceKeyword,

0 commit comments

Comments
 (0)