Skip to content

Restrict qasm2.main if-statement via validation pass.  #188

@weinbe58

Description

@weinbe58

use Validation infrastructure in #179 to restrict:

  1. If statement doesn't have an else block
  2. If statement only has one expression inside the body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions