Skip to content

Reexports work for namespaces but not items #1955

@minestarks

Description

@minestarks
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions