ForNeVeR / ForNeVeR/Cesium

A "value" of a function should be its pointer

Open
#227 2 comments 0 reactions 0 assignees View on GitHub
area:compiler good-first-issue hacktoberfest kind:feature status:help-wanted
Dominant language
C#
Stars
451
Forks
49
Avg merge
13h 59m
Merged PRs (30d)
6

Description

Right now, this doesn't seem to compile:
```c
int foo(int) { return 0; }
typedef int foo_t(int);
foo_t v = foo;
```

This should work the same as `foo_t v = &foo;`, i.e. it should take a function address automatically.

Look for the number `227` in the code to find clues to implement this feature.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.