Skip to content

Commit

Permalink
Add observe internal module as first import
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaMadhushan committed Sep 2, 2024
1 parent 34a9f70 commit d4585c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void addObserveInternalModuleImport(BLangPackage pkgNode) {
importDcl.alias = ASTBuilderUtil.createIdentifier(pkgNode.pos, "_");
importDcl.version = ASTBuilderUtil.createIdentifier(pkgNode.pos, "");
importDcl.symbol = packageCache.getSymbol(PackageID.OBSERVE_INTERNAL);
pkgNode.imports.add(importDcl);
pkgNode.imports.add(0, importDcl);
pkgNode.symbol.imports.add(importDcl.symbol);
}
}
Expand Down

0 comments on commit d4585c8

Please sign in to comment.