CakeML checkers should call Runtime.exit with error codes
Open
- Dominant language
- Standard ML
- Stars
- 1.2k
- Forks
- 104
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 16
Description
They currently return 0 in all cases (except heap/stack memouts, which exit with 1 and 2 respectively)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the CakeML checker implementations and their existing Runtime.exit calls, then inspect the return paths for normal failures and the heap/stack memout cases. Determine the intended error-code mapping from the surrounding checker behavior or project guidance, and verify that each relevant failure exits with the expected code while the existing memout codes remain correct.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100