Skip to content

When there are multiple generic methods, LSP can sometimes infer the wrong method #18

@archseer

Description

@archseer
Image

I have both of these methods in scope:

fun Iterator<T>.new(data: cell)
fun Map<V>.new(): Map<V>

even though I'm calling Iterator.new, it's inferring Map.new.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions