ForNeVeR / ForNeVeR/Cesium

Produce compiler error when required return is missing

Open
#928 7 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.