Add minor optimization

Do not copy overrides while creating FAKE_OVERRIDE
This commit is contained in:
Denis Zharkov
2016-02-03 12:08:27 +03:00
parent 18e7272a1e
commit 68110f5859
@@ -47,7 +47,7 @@ fun createSynthesizedInvokes(functions: Collection<FunctionDescriptor>): Collect
synthesizedSuperFun.modality,
synthesizedSuperFun.visibility,
CallableMemberDescriptor.Kind.FAKE_OVERRIDE,
true
/* copyOverrides = */ false
)
fakeOverride.setSingleOverridden(synthesizedSuperFun)
fakeOverride