Skip to content

Commit

Permalink
DeferStmt expr type changed to CallExpr
Browse files Browse the repository at this point in the history
  • Loading branch information
tuqqu committed Aug 7, 2022
1 parent 4ef91ab commit 140720e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ast/Stmt/DeferStmt.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

namespace GoParser\Ast\Stmt;

use GoParser\Ast\Expr\Expr;
use GoParser\Ast\Expr\CallExpr;
use GoParser\Ast\Keyword;

final class DeferStmt implements Stmt
{
public function __construct(
public readonly Keyword $keyword,
public readonly Expr $expr,
public readonly CallExpr $expr,
) {}
}

0 comments on commit 140720e

Please sign in to comment.