quil-lang / quilc

The optimizing Quil compiler.
Apache License 2.0
454 stars 73 forks source link

print warning when there are ambiguous gatedefs or circuitdefs by def… #807

Closed Spin1Half closed 2 years ago

Spin1Half commented 2 years ago

change default behavior to print a warning when there are ambiguous gate definitions or circuit definitions

stylewarning commented 2 years ago

I would change to emitting a style-warning instead of a full warning. You could make a new condition class for this, or just use alexandria:simple-style-warning.

That should fix the tests.