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:
Pavel V. Talanov
2015-10-05 20:20:32 +03:00
parent 508b401603
commit 3ed04aea8a
4 changed files with 37 additions and 2 deletions
@@ -0,0 +1,15 @@
package a
import a.O.uniqueName
object O {
fun uniqueName() {
}
}
fun main() {
uniqueN<caret>
}
// EXIST: uniqueName
// NUMBER: 1