Skip to content

Commit

Permalink
Merge pull request #43347 from NipunaMadhushan/fix-observe-internal-i…
Browse files Browse the repository at this point in the history
…ssue-master

Add observe internal module as first import
  • Loading branch information
NipunaMadhushan authored Sep 3, 2024
2 parents 02a63e5 + d4585c8 commit fe6d7c5
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 fe6d7c5

Please sign in to comment.