qdk icon indicating copy to clipboard operation
qdk copied to clipboard

Reexports work for namespaces but not items

Open minestarks opened this issue 1 year ago • 0 comments

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.

minestarks avatar Oct 09 '24 22:10 minestarks