qdk
qdk copied to clipboard
Reexports work for namespaces but not items
operation Main() : Unit {
Microsoft.Quantum.Core.RangeStart();
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ name error: `Microsoft.Quantum.Core.RangeStart` not found
Microsoft.Quantum.Diagnostics.DumpMachine();
}
Here, Microsoft.Quantum.Diagnostics is reexported in legacy_api.qs as a namespace, which resolves fine, but Microsoft.Quantum.Core.RangeStart, which is reexported by its item name, does not resolve.