File level functionname shadows functionname in Interface
Open
bug :bug:
medium effort
medium impact
should compile without error
should have
- Dominant language
- C++
- Stars
- 25.7k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 21
Description
**Solidity version 0.7.4**

Should the compiler warn about such name clashes even if one of them is a file-level function and the other one a function declared inside an interface?
Contributor guide
Research direction
The report gives no source file, test, or entry point. Reproduce the Solidity 0.7.4 example involving a file-level function and an interface function, then trace the compiler's name-clash diagnostics; done means determining and documenting the expected warning behavior, with a regression test if the project structure identifies an appropriate location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, solidity
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100