C#: bare calls to inherited members of a generic base class stay ambiguous against unrelated same-name statics #370
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index#370
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Field report (local-ai-server, E3, 0.37.1
8df22f69)TypedPara.cshas 5,150 unresolved refs. All of them areambiguous, and none are qualified:Get(2,237 refs) andSet(2,237 refs) are bare calls to protected members of the generic baseParaGroupBase<T>. The base lives in another project of the same repo.Enumsstructs declarespublic static X Get(string key).To do
protected T Get(...)andSet(...), a subclass in another file/namespace callingGet(...)bare, and decoy types withstatic Get(...).ParaGroupBase<TypedPara>, a base in another project, or the bare call kind.Related: #369, #371.