diff --git a/src/Ast/FieldDecl.php b/src/Ast/FieldDecl.php index ff7c36a..7cae3a8 100644 --- a/src/Ast/FieldDecl.php +++ b/src/Ast/FieldDecl.php @@ -4,15 +4,15 @@ namespace GoParser\Ast; -use GoParser\Ast\Expr\Expr; use GoParser\Ast\Expr\RawStringLit; use GoParser\Ast\Expr\StringLit; +use GoParser\Ast\Expr\Type; final class FieldDecl implements AstNode { public function __construct( public readonly ?IdentList $identList, - public readonly ?Expr $type, + public readonly ?Type $type, public readonly StringLit|RawStringLit|null $tag, ) {} }