Fixed duplication of some generic functions in code completion
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
package dependency
|
||||
|
||||
class MyPair<A, B>(public val first: A, public val second: B)
|
||||
|
||||
public fun <A, B> A.pair(that: B): MyPair<A, B> = MyPair(this, that)
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// this test tests correct substitution equality checking for generic functions
|
||||
import dependency.pair
|
||||
|
||||
fun foo() {
|
||||
1 pai<caret>
|
||||
}
|
||||
|
||||
// EXIST: pair
|
||||
// NUMBER: 1
|
||||
Reference in New Issue
Block a user