Compiler panics and no DCA warning when a configurable is never used #6118
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler
General compiler. Should eventually become more specific as the issue is triaged
DCA
Everything to do with Dead Code Analysis
The configurable
MAX_SUPPLY
is never used and optimized away but there is no dead code warning generated and that confuses the developers.Additionally, the code compiles without warnings or errors on Sway v0.60.0 but the compiler panics on the current master:
The text was updated successfully, but these errors were encountered: