From 4ef91abd1a10620ef8f082b3807d6219f98bbc27 Mon Sep 17 00:00:00 2001 From: tuqqu Date: Fri, 22 Jul 2022 00:11:30 +0300 Subject: [PATCH] Field declaration changed expr to type --- src/Ast/FieldDecl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, ) {} }