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, );