Produce compiler error when required return is missing
Open
area:compiler
good-first-issue
kind:bug
status:help-wanted
- Dominant language
- C#
- Stars
- 451
- Forks
- 49
- Avg merge
- 13h 59m
- Merged PRs (30d)
- 6
Description
```c
int foo(void)
{
}
```
should produce compiler error
Contributor guide
Research direction
The issue provides a C example with a missing return but names no source file, test, or compiler entry point. Locate the diagnostic path for function return analysis, then add coverage for this example and verify that compilation reports an error for a required return that is missing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, csharp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100