forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3core
David Mak 2b2b2dbf8f [core] Fix resolution of exception names in raise short form
Previous implementation fails as `resolver.get_identifier_def` in ARTIQ
would return the exception __init__ function rather than the class.

We fix this by limiting the exception class resolution to only include
raise statements, and to force the exception name to always be treated
as a class.

Fixes #501.
2024-08-26 18:35:02 +08:00
..
src [core] Fix resolution of exception names in raise short form 2024-08-26 18:35:02 +08:00
Cargo.toml [meta] Do not specify rev in dependency version 2024-08-21 15:36:54 +08:00
build.rs core: Apply cargo format 2024-07-09 13:32:10 +08:00