-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
compiler: frontendEverything to do with type checking, control flow analysis, and everything between parsing and IRgenEverything to do with type checking, control flow analysis, and everything between parsing and IRgengood first issueGood for newcomersGood for newcomersteam:compilerCompiler TeamCompiler Team
Description
The error CompileError::ContractIdConstantNotAConstDecl
is only used in contract_helpers.rs
, and is only thrown if the typecheck of the CONTRACT_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.
Metadata
Metadata
Assignees
Labels
compiler: frontendEverything to do with type checking, control flow analysis, and everything between parsing and IRgenEverything to do with type checking, control flow analysis, and everything between parsing and IRgengood first issueGood for newcomersGood for newcomersteam:compilerCompiler TeamCompiler Team