Non-constant expressions as function names
Open
area:compiler
kind:feature
status:help-wanted
- Dominant language
- C#
- Stars
- 451
- Forks
- 49
- Avg merge
- 13h 59m
- Merged PRs (30d)
- 6
Description
Eventually, something like this should be supported:
```c
int foo(void) { return 0; }
int bar(void) { return 1; }
int res = (true ? foo : bar)();
```
Look for the number `229` in the code to find clues to implement this feature.
Contributor guide
Research direction
Search the codebase for references to issue number 229 and trace how function-call expressions and function names are represented. Use the example in the issue as the behavioral target; done means the conditional expression can select either function and the resulting call compiles and executes correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, csharp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100