From 9b45796547c8022b98a9254320323d72aecd81cb Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 15 Mar 2024 19:02:22 +0900 Subject: refactor: remove Expr class --- src/BinaryFormat/Code.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/BinaryFormat/Code.php') diff --git a/src/BinaryFormat/Code.php b/src/BinaryFormat/Code.php index cb0dbe6..6acf1e7 100644 --- a/src/BinaryFormat/Code.php +++ b/src/BinaryFormat/Code.php @@ -4,16 +4,17 @@ declare(strict_types=1); namespace Nsfisis\Waddiwasi\BinaryFormat; -use Nsfisis\Waddiwasi\Structure\Instructions\Expr; +use Nsfisis\Waddiwasi\Structure\Instructions\Instr; final readonly class Code { /** * @param list $compressedLocals + * @param list $body */ public function __construct( public array $compressedLocals, - public Expr $body, + public array $body, ) { } } -- cgit v1.2.3-70-g09d2