-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Labels
Description
Describe the bug
While QasmStd items are recognized when righting code for a project, they are suddenly not recognizable when another project uses the first as a dependency.
To Reproduce
Steps to reproduce the behavior:
- Create Q# project Foo, which uses any QasmStd item, like
QasmStd.Convert.BoolAsBigInt
:
import QasmStd.Convert.BoolAsBigInt;
operation FooOp() : Unit {
BoolAsBigInt(true);
}
export FooOp;
- Create Q3 project Bar, which uses Foo as a dependency:
{
"dependencies": {
"Foo": {
"path": "../Foo"
}
}
}
import Foo.FooOp
operation Main() : Unit {
FooOp();
}
- Try to run Main from Bar.
- You should see an error message about how
BoolAsBigInt
is not found.
Expected behavior
Should be able to use dependencies that make use of QasmStd.