Skip to content

Commit

Permalink
fix: compiler module index
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Nov 30, 2023
1 parent 996e211 commit 8ef386c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beize_compiler/lib/compiler/parser/parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down

0 comments on commit 8ef386c

Please sign in to comment.