You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugSomething isn't workinggood first issueGood for newcomersirIntermediate representation, builders, verification and lowering.needs testingRequires focused correctness or coverage validation.priority highCorrectness or foundational work to address before dependent features.
Reproduced through ModuleBuilder: create an i64-returning function, emit const_bool(true), then ret(Some(value)). verify_module returns Ok(()). The verifier compares the terminator annotation with the function signature but never compares the actual value type.
Scope
Difficulty: easy.
Validate the returned ValueId type, including void/nonvoid consistency. Keep general instruction typing in a separate issue.
Completion criteria
A bool value cannot satisfy an i64 return.
Void returns cannot carry a value; nonvoid returns require one.
Missing value-type metadata is diagnosed.
Add small positive and negative verifier unit tests.
Backlog index: #12. This issue owns only the bounded work described above.
bugSomething isn't workinggood first issueGood for newcomersirIntermediate representation, builders, verification and lowering.needs testingRequires focused correctness or coverage validation.priority highCorrectness or foundational work to address before dependent features.
Activity