diff options
| author | Schuyler Eldridge | 2020-04-12 16:49:43 -0400 |
|---|---|---|
| committer | Schuyler Eldridge | 2020-04-13 16:03:25 -0400 |
| commit | a49a2f5ebf5f61fc3d66798d5c81d91029fcc8db (patch) | |
| tree | 5fcd12e2c76614f773304e1a112917ce2eafe0a9 /scripts | |
| parent | 4761883cece1451dd7984554ec585a2feaf0a170 (diff) | |
Check EmitAnnotation class before emitting
Fixes a bug where an Emitter was only checking for the presence of an
EmitCircuitAnnotation or EmitAllModulesAnnotation to control its
emission flavor (one-file-per-module or one-file). This changes the
check to ensure that the class of emitter matches that of the
annotation. This allows for correct behavior when mixing different
emitters, e.g., -E high -e middle.
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
