f40a0ca704
Result of calling `ExpressionCodegen.gen` was used only in two call sites in the inliner. In all other call sites, we were doing unnecessary work (and sometimes were even failing) by trying to construct a KotlinType instance out from an IrType. Note that even though the code from KT-50617 no longer fails to compile, the underlying problem is still not solved, since the IrType for foo's dispatch receiver is constructed incorrectly. The reason is that SymbolTable links everything by IdSignature, which is identical for classes with the same FQ name. #KT-50617 Fixed