Skip to content

Wrong linter warning for operation that calls operation #1661

Closed
@msoeken

Description

@msoeken

Describe the bug

An operation that does not manipulate any qubits directly inside the operation, but calls another operation that does, is suggested to be changed to a function, but it cannot.

To Reproduce

Q# playground sample

Expected behavior

No warning should be emitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions