`@LowPriorityInOverloadResolution` should be publi...
# language-proposals
m
@LowPriorityInOverloadResolution
should be public. It’s so useful to resolve ambiguities 🙂
💯 3
8
i
LowPriorityInOverloadResolution
may look as a last-resort hammer to solve an ambiguity, but it's inherently limited because it only helps if there are no more than two conflicting overloads. It's better to find a way to resolve such conflict by means of existing language features than to manually hack the overload resolution, see for example this situation: https://youtrack.jetbrains.com/issue/KT-16255#focus=Comments-27-1904640.0-0 Please report your cases when you wanted to use this annotation, so we could consider it on case-by-case basis. Meanwhile, we have some plans of making such annotations public, but requiring an explicit opt-in.
m
Thank you for the info!