From 8ef386c8c12afa2f949287b39bb11781e4f9dc78 Mon Sep 17 00:00:00 2001 From: zyrouge Date: Thu, 30 Nov 2023 20:59:45 +0530 Subject: [PATCH] fix: compiler module index --- packages/beize_compiler/lib/compiler/parser/parser.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/beize_compiler/lib/compiler/parser/parser.dart b/packages/beize_compiler/lib/compiler/parser/parser.dart index 1198bf1..61014e7 100644 --- a/packages/beize_compiler/lib/compiler/parser/parser.dart +++ b/packages/beize_compiler/lib/compiler/parser/parser.dart @@ -225,7 +225,7 @@ abstract class BeizeParser { moduleIndex = compiler.modules.length; final int nameIndex = compiler.makeConstant(moduleName); final BeizeCompiler moduleCompiler = await compiler.createModuleCompiler( - nameIndex, + moduleIndex, modulePath, isAsync: false, );