Can't reference a specific function overload
Consider this scenario: I have two or more methods with the same name but different parameters, just simple function overloads. Then I can't reference one of them explicitly in the documentation. For example: ``` kotlin class Sample { /** * If calling this, don't call [fancy] or [fancy] before [build]. */ fun fancy(value: String) { ... } fun fancy(value: Int) { ... } fun fancy(value: String, extra: String) { ... } fun build(): Something { ... } } ``` Something like `[fancy(Int)]` and `[fancy(String, String)]` would be nice in the scenario, to separate the reference by parameter types and thus being able to reference one specific overload.
Posted by ghost on May 26, 2016, 9:51 AM
Tags
Related issues
- struct's lifetime requirements can be bypassed via covariant field assignment
- Proposal to Reorganize the Moderation Team and Review Moderation Policies
- Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
- proposal: container/...: generic collection types
- Better Custom Endpoint BYOK
- A concrete policy for backward compatibility until Godot 5.0
Raise real-world problems, find people facing the same issue, and discuss solutions.5,000 issues0 comments
github (Other)
struct's lifetime requirements can be bypassed via covariant field assignment
Proposal to Reorganize the Moderation Team and Review Moderation Policies
Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
proposal: container/...: generic collection types
Better Custom Endpoint BYOK
A concrete policy for backward compatibility until Godot 5.0
New MTP models not supported
Tracking: 429 / Capacity Issues
Can't reference a specific function overload
Consider this scenario: I have two or more methods with the same name but different parameters, just simple function overloads. Then I can't reference one of them explicitly in the documentation. For example: ``` kotlin class Sample { /** * If calling this, don't call [fancy] or [fancy] before [build]. */ fun fancy(value: String) { ... } fun fancy(value: Int) { ... } fun fancy(value: String, extra: String) { ... } fun build(): Something { ... } } ``` Something like `[fancy(Int)]` and `[fancy(String, String)]` would be nice in the scenario, to separate the reference by parameter types and thus being able to reference one specific overload.
Comments (0)
No comments yet. Start the discussion.