Open
Description
monkey.jungle
in barrel:
custom_sourcePath = custom-source
base.sourcePath = source;$(custom_sourcePath)
custom-source/f.mc
in barrel:
module TestBarrel {
function f() as Void {}
}
source/g.mc
in project:
function g() as Void {
// Undefined symbol TestBarrel.f
// 'TestBarrel.f' is not callable
TestBarrel.f();
}
This reproduces for barrel added as barrel
-file dependency.
Garmin's compiler builds this without errors, and SDK 8 Language Server provides function $.TestBarrel.f() as Void
hint for it.
This issue can be avoided by changing dependency type to barrel's monkey.jungle
or by replacing $(custom_sourcePath)
with its value in project's bin/optimized/raw-barrels/.../barrel.jungle
.
Metadata
Metadata
Assignees
Labels
No labels