Skip to content

Commit

Permalink
Field declaration changed expr to type
Browse files Browse the repository at this point in the history
  • Loading branch information
tuqqu committed Jul 21, 2022
1 parent 52c1fa3 commit 4ef91ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ast/FieldDecl.php
Expand Up @@ -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,
) {}
}

0 comments on commit 4ef91ab

Please sign in to comment.