Qiskit / openqasm3_parser

Parser and semantic analyzer for the OpenQASM3 language
Apache License 2.0
11 stars 12 forks source link

Fix bug when initializing bit declaration with measurement #202

Closed jlapeyre closed 7 months ago

jlapeyre commented 7 months ago

This bug actually happens with any initializer of a bit from a bit type.

This commit fixes this bug. However the type checking in classical declaration statements is still broken in general.

Closes #200