From 68110f58591bf33917edc38457b9616094d1319c Mon Sep 17 00:00:00 2001 From: Denis Zharkov Date: Wed, 3 Feb 2016 12:08:27 +0300 Subject: [PATCH] Add minor optimization Do not copy overrides while creating FAKE_OVERRIDE --- .../jetbrains/kotlin/resolve/calls/tasks/synthesizedInvokes.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tasks/synthesizedInvokes.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tasks/synthesizedInvokes.kt index 052271b2120..93ff021ac35 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tasks/synthesizedInvokes.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tasks/synthesizedInvokes.kt @@ -47,7 +47,7 @@ fun createSynthesizedInvokes(functions: Collection): Collect synthesizedSuperFun.modality, synthesizedSuperFun.visibility, CallableMemberDescriptor.Kind.FAKE_OVERRIDE, - true + /* copyOverrides = */ false ) fakeOverride.setSingleOverridden(synthesizedSuperFun) fakeOverride