findDecompiledDeclaration: find builtIns more accurately
Use resolveScope of a reference to help searching for builtIn binaries Do not search non-builtIn descriptors in random scopes
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
Sequence.class
|
||||
public interface <1>Sequence<out T> {
|
||||
collections.kotlin_builtins
|
||||
public interface <3>Map<K, out V> {
|
||||
kotlin.kotlin_builtins
|
||||
public final class <2><4><5>Int private constructor() : kotlin.Number, kotlin.Comparable<kotlin.Int> {
|
||||
@@ -0,0 +1,6 @@
|
||||
Collections.kt
|
||||
public interface <3>Map<K, out V> {
|
||||
Primitives.kt
|
||||
public class <2><4><5>Int private constructor() : Number(), Comparable<Int> {
|
||||
Sequence.kt
|
||||
public interface <1>Sequence<out T> {
|
||||
@@ -0,0 +1,2 @@
|
||||
fun main(s: Sequence<Int>, m: Map<Int, Int>) {
|
||||
}
|
||||
Reference in New Issue
Block a user