Imports from objects: Do not create new instances on getOriginal every time
Also fixes a problem where DeclarationLookupObjectImpl didn't have stable hashCode
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package a
|
||||
|
||||
import a.O.uniqueName
|
||||
|
||||
object O {
|
||||
fun uniqueName() {
|
||||
}
|
||||
}
|
||||
|
||||
fun main() {
|
||||
uniqueN<caret>
|
||||
}
|
||||
|
||||
// EXIST: uniqueName
|
||||
// NUMBER: 1
|
||||
Reference in New Issue
Block a user