Fix receiver inconsistency when builder inference restriction disabled

In 154e53c701 update of
extensionReceiverArgument in resolvedCall was accidentally moved into
language feature dependant block
This commit is contained in:
Simon Ogorodnik
2022-09-03 13:52:12 +02:00
committed by Space
parent 01507281a2
commit 05d486d55a
6 changed files with 52 additions and 13 deletions
@@ -0,0 +1,15 @@
// FIR_IDENTICAL
// SKIP_TXT
// WITH_STDLIB
// LANGUAGE: +NoBuilderInferenceWithoutAnnotationRestriction
class A
class B
var B.foo: Boolean
get() = true
set(value) {}
private fun A.bar(b: B) {
b.foo = true
}