Eliminate CompileError::ContractIdConstantNotAConstDecl #6841
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
good first issue
Good for newcomers
The error
CompileError::ContractIdConstantNotAConstDecl
is only used incontract_helpers.rs
, and is only thrown if the typecheck of theCONTRACT_ID
declaration fails. Since this declaration is generated by the compiler, this typecheck should never fail, and if it does it should be an internal compiler error instead.The text was updated successfully, but these errors were encountered: