aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Modules/Func.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Modules/Func.php')
-rw-r--r--src/Structure/Modules/Func.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Structure/Modules/Func.php b/src/Structure/Modules/Func.php
index bab1889..7c76b5e 100644
--- a/src/Structure/Modules/Func.php
+++ b/src/Structure/Modules/Func.php
@@ -4,17 +4,18 @@ declare(strict_types=1);
namespace Nsfisis\Waddiwasi\Structure\Modules;
-use Nsfisis\Waddiwasi\Structure\Instructions\Expr;
+use Nsfisis\Waddiwasi\Structure\Instructions\Instr;
final readonly class Func
{
/**
* @param list<Local> $locals
+ * @param list<Instr> $body
*/
public function __construct(
public int $type,
public array $locals,
- public Expr $body,
+ public array $body,
) {
}
}